Re: [PHP-DEV] Using call_user_function with closures

2010-05-19 Thread spam
On Wed, May 19, 2010 10:48 pm, Alec wrote: > I am taking over an extension from one of my coworkers, and it was > written before the time of PHP 5.3. Are there any special considerations to > think about when using closures with call_user_function? This is the > current line: > > if (call_user_func

[PHP-DEV] Using call_user_function with closures

2010-05-19 Thread Alec
I am taking over an extension from one of my coworkers, and it was written before the time of PHP 5.3. Are there any special considerations to think about when using closures with call_user_function? This is the current line: if (call_user_function(EG(function_table), NULL, &callback, &local_