1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

- MFB: fix build (declaration first please)

This commit is contained in:
Pierre Joye
2009-01-02 01:52:21 +00:00
parent 125ad6fca2
commit b301ee4c5e

View File

@@ -254,9 +254,11 @@ ZEND_API HashTable *zend_closure_get_debug_info(zval *object, int *is_temp TSRML
}
if (arg_info) {
zend_uint i, required = closure->func.common.required_num_args;
MAKE_STD_ZVAL(val);
array_init(val);
zend_uint i, required = closure->func.common.required_num_args;
for (i = 0; i < closure->func.common.num_args; i++) {
char *name, *info;
int name_len, info_len;