Re: [PHP] call_user_func_array how to use on object php >= 5.3

2010-06-28 Thread Nathan Nobbe
On Mon, Jun 28, 2010 at 12:51 PM, Nathan Nobbe wrote: > > > On Mon, Jun 28, 2010 at 12:39 PM, Shaun Morrow wrote: > >> I am working on code that implements a delegate design pattern, this makes >> use of the call_user_func_array function. >> >> I am having trouble with this particular line in PHP

Re: [PHP] call_user_func_array how to use on object php >= 5.3

2010-06-28 Thread Nathan Nobbe
On Mon, Jun 28, 2010 at 12:39 PM, Shaun Morrow wrote: > I am working on code that implements a delegate design pattern, this makes > use of the call_user_func_array function. > > I am having trouble with this particular line in PHP 5.3 > return call_user_func_array(array($delegate, $methodName), $

[PHP] call_user_func_array how to use on object php >= 5.3

2010-06-28 Thread Shaun Morrow
I am working on code that implements a delegate design pattern, this makes use of the call_user_func_array function. I am having trouble with this particular line in PHP 5.3 return call_user_func_array(array($delegate, $methodName), $parameters); $delegate is an object, and not simply the class n