mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
Add missing initialization
This commit is contained in:
parent
21315c08b7
commit
20b60f49d9
@ -941,6 +941,9 @@ static void _reflection_export(INTERNAL_FUNCTION_PARAMETERS, zend_class_entry *c
|
||||
}
|
||||
}
|
||||
|
||||
INIT_PZVAL(&output);
|
||||
output.refcount = 1;
|
||||
|
||||
/* Create object */
|
||||
INIT_PZVAL(&reflector);
|
||||
if (object_and_properties_init(&reflector, ce_ptr, NULL) == FAILURE) {
|
||||
|
@ -941,6 +941,9 @@ static void _reflection_export(INTERNAL_FUNCTION_PARAMETERS, zend_class_entry *c
|
||||
}
|
||||
}
|
||||
|
||||
INIT_PZVAL(&output);
|
||||
output.refcount = 1;
|
||||
|
||||
/* Create object */
|
||||
INIT_PZVAL(&reflector);
|
||||
if (object_and_properties_init(&reflector, ce_ptr, NULL) == FAILURE) {
|
||||
|
Loading…
Reference in New Issue
Block a user