Skip to content

Commit 31cd429

Browse files
committed
COPY
1 parent 0dd97dc commit 31cd429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/reflection/php_reflection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ static void reflection_parameter_factory(zend_function *fptr, zval *closure_obje
14441444
}
14451445

14461446
prop_name = reflection_prop_name(object);
1447-
ZVAL_STR(prop_name, arg_info->name);
1447+
ZVAL_STR_COPY(prop_name, arg_info->name);
14481448
}
14491449
/* }}} */
14501450

0 commit comments

Comments
 (0)