Re: [PHP-DEV] call_user_func performance and dynamic code

2011-05-23 Thread Stas Malyshev
Hi! I'd like to ask a question about call_user_func/_array performance and the use of runtime variables to call functions and methods from the PHP internals perspective. There are two separate issues here: real-life PHP application performance and internal engine performance. If you are

Re: [PHP-DEV] call_user_func performance and dynamic code

2011-05-23 Thread Hannes Magnusson
On Mon, May 23, 2011 at 20:30, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! I'd like to ask a question about call_user_func/_array performance and the use of runtime variables to call functions and methods from the PHP internals perspective. There are two separate issues here: real-life

[PHP-DEV] call_user_func performance and dynamic code

2011-05-22 Thread Drak
I'd like to ask a question about call_user_func/_array performance and the use of runtime variables to call functions and methods from the PHP internals perspective. Many people have blogged about how:- $callable = array($object, $bar); call_user_func_array($callable, $args); is