Re: cvs: php-src(PHP_5_3) /ext/reflection php_reflection.c /ext/spl php_spl.c /ext/spl/tests spl_autoload_007.phpt /ext/standard/tests/array
array_map_object1.phpt array_map_object3.phpt /ext/standard/tests/general_functions bug40398.phpt callbacks_001.phpt ZendEngine2 zend_API.c
zend_API.h zend_closures.c zend_compile.h zend_execute_API.c zend_object_handlers.c zend_vm_def.h zend_vm_execute.h ZendEngine2/tests bug32290.phpt
objects_027.phpt

From: Date: Sat, 26 Jul 2008 17:10:39 +0000
Subject: Re: cvs: php-src(PHP_5_3) /ext/reflection php_reflection.c /ext/spl php_spl.c /ext/spl/tests spl_autoload_007.phpt /ext/standard/tests/array
array_map_object1.phpt array_map_object3.phpt /ext/standard/tests/general_functions bug40398.phpt callbacks_001.phpt ZendEngine2 zend_API.c
zend_API.h zend_closures.c zend_compile.h zend_execute_API.c zend_object_handlers.c zend_vm_def.h zend_vm_execute.h ZendEngine2/tests bug32290.phpt
objects_027.phpt
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-51622@lists.php.net to get a copy of this message
Hello Dmitry, Saturday, July 26, 2008, 3:14:07 PM, you wrote: > dmitry Sat Jul 26 13:14:07 2008 UTC > Modified files: (Branch: PHP_5_3) > /ZendEngine2 zend_API.c zend_API.h zend_closures.c zend_compile.h > zend_execute_API.c zend_object_handlers.c > zend_vm_def.h zend_vm_execute.h > /ZendEngine2/tests bug32290.phpt objects_027.phpt > /php-src/ext/reflection php_reflection.c > /php-src/ext/spl php_spl.c > /php-src/ext/spl/tests spl_autoload_007.phpt > /php-src/ext/standard/tests/array array_map_object1.phpt > array_map_object3.phpt > /php-src/ext/standard/tests/general_functions bug40398.phpt > callbacks_001.phpt > Log: > Fixed is_callable/call_user_func mess that had done different things > for very similar arguments e.g. array("A","B") and "A::B" > > As far as I understand it zou did a nice unification of all that argument handling, just as mentioned in the submit message. However I saw that zou dropped the zend_function* invoke from struct zend_closure. This was an optimization as repeated calls no longer needed to recreate the function. Why was this dropped? Is it because something might change before the closure gets called a second time? If so how is it a closure then? Best regards, Marcus

« previous php.cvs (#51622) next »