On Mon, May 13, 2013 at 12:25 PM, Dmitry Stogov <dmi...@zend.com> wrote:

> Would need an additional object handler though (as compare_objects works
>> only on objects, so it's currently not possible to support something like
>> $gmp == 0).
>>
>
> Or may be we may introduce additional opcode (or even pseudo-opcode)
> ZEND_CMP to do it in the same way.
>
I implemented it with a separate handler for now (
https://github.com/nikic/php-src/commit/208442f84afd7ccd8e2dce8138c0950719a2e031),
but I'm also okay with moving it into do_operation. Not sure if it's a good
idea to add pseudo opcodes though.

Nikita

Reply via email to