Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52968 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78832 invoked from network); 5 Jun 2011 20:50:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2011 20:50:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.163 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.163 smtp163.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.163] ([67.192.241.163:43774] helo=smtp163.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A8/30-26000-42CEBED4 for ; Sun, 05 Jun 2011 16:50:45 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp6.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 613662705A1; Sun, 5 Jun 2011 16:50:41 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp6.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id ED2EE27057A; Sun, 5 Jun 2011 16:50:40 -0400 (EDT) Message-ID: <4DEBEC20.0@sugarcrm.com> Date: Sun, 05 Jun 2011 13:50:40 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Felipe Pena CC: internals References: <4DEBDDE3.7060208@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] $arr = array('Hello', 'world'); $arr(); From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > We have the code to initialize the call from a object variable, and string > variable (function only) in this exact opcode ZEND_INIT_FCALL_BY_NAME, which > now treat the array case as well, there is no other place doing such stuff. What about call_user_func() implementation? It must be doing pretty much the same thing. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227