RE: [PHP-DEV] Could we kill call_user_func?

From: Date: Mon, 18 Mar 2013 15:03:49 +0000
Subject: RE: [PHP-DEV] Could we kill call_user_func?
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-66687@lists.php.net to get a copy of this message
> Angel, > > On 18/03/13 14:04, Julien Pauli wrote: > > > Also, AFAIR, call_user_func() doesn't work with functions using > > > references in args. Julien.Pauli > > AFAIK it does. > > Do you have an example where it doesn't? > > > > It definitely does not: > > http://3v4l.org/C8Kme > > And if you try call-time-pass-by-reference, it gets worse: > > http://3v4l.org/pI89l > > Anthony Although it does not work with call_user_func() it does work with call_user_func_array() see: http://3v4l.org/GdUmM

« previous php.internals (#66687) next »