diff options
author | Xinchen Hui <laruence@php.net> | 2015-04-08 14:30:47 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-04-08 14:30:47 +0800 |
commit | f23f7dfed03e67c9b5cca076e24ccf9f7c761674 (patch) | |
tree | 6853c43a730c31b1ecce3978939598bf8a1168d3 /Zend/zend_builtin_functions.c | |
parent | 54e8c91614a682a75256a61fed7f1c3b324e9e12 (diff) | |
download | php-git-f23f7dfed03e67c9b5cca076e24ccf9f7c761674.tar.gz |
Use new macros
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r-- | Zend/zend_builtin_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index ffb78c343e..c7d12bf128 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -1144,7 +1144,7 @@ ZEND_FUNCTION(get_object_vars) if (!zobj->ce->default_properties_count && properties == zobj->properties) { /* fast copy */ - ZVAL_ARR(return_value, zend_array_dup(properties)); + RETURN_ARR(zend_array_dup(properties)); } else { array_init_size(return_value, zend_hash_num_elements(properties)); @@ -1902,7 +1902,7 @@ ZEND_FUNCTION(get_defined_vars) { zend_array *symbol_table = zend_rebuild_symbol_table(); - ZVAL_ARR(return_value, zend_array_dup(symbol_table)); + RETURN_ARR(zend_array_dup(symbol_table)); } /* }}} */ |