Re: $arr = array('Hello', 'world'); $arr();
| From: | Stas Malyshev | Date: | Sun, 05 Jun 2011 20:50:40 +0000 |
| Subject: | Re: $arr = array('Hello', 'world'); $arr(); | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52968@lists.php.net to get a copy of this message | ||
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