From a46f644b3ac4abe7577165de4e4850e5c2c88227 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 10 Dec 2013 16:02:59 +0400 Subject: Revered func_get_args() changes, because they were not completly transparent and broke some tricky PHP code that worked because of luck before php-5.5.6 (see Bug #66107). The changes are going to be kept in PHP-5.6. --- Zend/zend_builtin_functions.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'Zend/zend_builtin_functions.c') diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 6cbe0bc687..1ad64e74ea 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -461,17 +461,12 @@ ZEND_FUNCTION(func_get_args) array_init_size(return_value, arg_count); for (i=0; ivalue.ht, &element, sizeof(zval *), NULL); } } -- cgit v1.2.1