Re: Could we kill call_user_func?

From: Date: Mon, 18 Mar 2013 15:03:41 +0000
Subject: Re: 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-66688@lists.php.net to get a copy of this message
On Mon, Mar 18, 2013 at 3:33 PM, Anthony Ferrara <ircmaxell@gmail.com>wrote: > 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 > > Yeah, that's what I remembered. call_user_func() is not exactly the same as calling the function, when references come to scene, it just wont work. Same with _array() implementation. Julien.Pauli

« previous php.internals (#66688) next »