]> granicus.if.org Git - php/commitdiff
Added missed opcodes
authorDmitry Stogov <dmitry@zend.com>
Mon, 3 Jul 2017 18:26:44 +0000 (21:26 +0300)
committerDmitry Stogov <dmitry@zend.com>
Mon, 3 Jul 2017 18:26:44 +0000 (21:26 +0300)
Zend/zend_opcode.c

index a0ec0684053cd19550b87be0e294161918820824..895cd83b3f94e6c4bd4ee93e687b2fcfe4acd87d 100644 (file)
@@ -695,6 +695,7 @@ ZEND_API binary_op_type get_binary_op(int opcode)
                case ZEND_ASSIGN_MUL:
                        return (binary_op_type) mul_function;
                case ZEND_POW:
+               case ZEND_ASSIGN_POW:
                        return (binary_op_type) pow_function;
                case ZEND_DIV:
                case ZEND_ASSIGN_DIV:
@@ -717,6 +718,7 @@ ZEND_API binary_op_type get_binary_op(int opcode)
                case ZEND_IS_NOT_IDENTICAL:
                        return (binary_op_type) is_not_identical_function;
                case ZEND_IS_EQUAL:
+               case ZEND_CASE:
                        return (binary_op_type) is_equal_function;
                case ZEND_IS_NOT_EQUAL:
                        return (binary_op_type) is_not_equal_function;