summaryrefslogtreecommitdiff
path: root/Zend/zend_opcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_opcode.c')
-rw-r--r--Zend/zend_opcode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c
index a6d041f131..1f7646b599 100644
--- a/Zend/zend_opcode.c
+++ b/Zend/zend_opcode.c
@@ -861,6 +861,8 @@ ZEND_API binary_op_type get_binary_op(int opcode)
return (binary_op_type) is_smaller_function;
case ZEND_IS_SMALLER_OR_EQUAL:
return (binary_op_type) is_smaller_or_equal_function;
+ case ZEND_SPACESHIP:
+ return (binary_op_type) compare_function;
case ZEND_BW_OR:
case ZEND_ASSIGN_BW_OR:
return (binary_op_type) bitwise_or_function;