Am 15.3.2013 um 16:59 schrieb Anthony Ferrara <ircmax...@gmail.com>: > Bob, > > call_user_func is not call_user_func_array > > call_user_func($func) is the same as $func(). In any way. > > Not in any way. call_user_func accepts any expression for the function to > call. `$func()` only accepts callables. > > Example: > > call_user_func(getCallback()); > getCallback()(); // <-- syntax error. > > You *could* solve it with variable foo: > > ${'_'.!$_=getCallback()}(); > > But I'd stick to call_user_func()...
Hey, why not enable then this "getCallback()();"? but yes, call_user_func should remain there alone in the combination with call_user_func_array. Bob Weinand