On Mon, 18 Mar 2013 19:03:41 +0400, Julien Pauli <jpa...@php.net> wrote:
On Mon, Mar 18, 2013 at 3:33 PM, Anthony Ferrara
<ircmax...@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
call_user_func_array will work ok. This is the only call_user_func problem.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php