Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66687 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25219 invoked from network); 18 Mar 2013 15:03:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Mar 2013 15:03:49 -0000 Authentication-Results: pb1.pair.com header.from=nathan.bruer@starin.biz; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=nathan.bruer@starin.biz; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain starin.biz from 207.198.105.69 cause and error) X-PHP-List-Original-Sender: nathan.bruer@starin.biz X-Host-Fingerprint: 207.198.105.69 hawk.starindns.com Received: from [207.198.105.69] ([207.198.105.69:43442] helo=hawk.starindns.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/74-31424-3DC27415 for ; Mon, 18 Mar 2013 10:03:48 -0500 Received: from 173-167-160-145-illinois.hfc.comcastbusiness.net ([173.167.160.145]:64929 helo=NathanBruerHP) by hawk.starindns.com with esmtpa (Exim 4.80) (envelope-from ) id 1UHbbD-0004yB-7H; Mon, 18 Mar 2013 10:03:43 -0500 Sender: "Nathan Bruer" To: "'Anthony Ferrara'" , =?iso-8859-1?Q?'=C1ngel_Gonz=E1lez'?= Cc: "'Julien Pauli'" , "'Sara Golemon'" , "'PHP Developers Mailing List'" References: <51432E01.7090502@mrclay.org> <51433530.5040707@gmail.com> <514724AA.1080600@gmail.com> In-Reply-To: Date: Mon, 18 Mar 2013 10:03:49 -0500 Message-ID: <268901ce23e9$ccba0be0$662e23a0$@starin.biz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJMu1vDNmAhDVETbsnX+2HVzO0v0gHWNd0cAlB7ZWsB+Q9WyALVI1QrAcM/eEcCG4uiBwGncI7HlzqDecA= Content-Language: en-us X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hawk.starindns.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - starin.biz X-Get-Message-Sender-Via: hawk.starindns.com: authenticated_id: nathan.bruer@starin.biz Subject: RE: [PHP-DEV] Could we kill call_user_func? From: nathan@starin.biz > 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