summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-04-08 14:30:47 +0800
committerXinchen Hui <laruence@php.net>2015-04-08 14:30:47 +0800
commitf23f7dfed03e67c9b5cca076e24ccf9f7c761674 (patch)
tree6853c43a730c31b1ecce3978939598bf8a1168d3 /Zend/zend_builtin_functions.c
parent54e8c91614a682a75256a61fed7f1c3b324e9e12 (diff)
downloadphp-git-f23f7dfed03e67c9b5cca076e24ccf9f7c761674.tar.gz
Use new macros
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r--Zend/zend_builtin_functions.c4
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));
}
/* }}} */