Hi,

2011/6/5 Stas Malyshev <smalys...@sugarcrm.com>

> Hi!
>
>
>  So, I wrote a patch [2] that allow such behavior to be consistent with
>> arrays. See some examples:
>>
>
> Looks good. Only question I have is that we seem to have that code (calling
> a function based on variable) in two places instead of one, I wonder if it's
> necessary and if we could unify them...
>

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.

-- 
Regards,
Felipe Pena

Reply via email to