diff options
-rw-r--r-- | Zend/zend_compile.c | 4 | ||||
-rw-r--r-- | Zend/zend_compile.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 4886fcc57e..ce3815c864 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3619,7 +3619,7 @@ void zend_compile_echo(zend_ast *ast) /* {{{ */ zend_compile_expr(&expr_node, expr_ast); opline = zend_emit_op(NULL, ZEND_ECHO, &expr_node, NULL); - opline->extended_value = ZEND_ECHO; + opline->extended_value = 0; } /* }}} */ @@ -6223,7 +6223,7 @@ void zend_compile_print(znode *result, zend_ast *ast) /* {{{ */ zend_compile_expr(&expr_node, expr_ast); opline = zend_emit_op(NULL, ZEND_ECHO, &expr_node, NULL); - opline->extended_value = ZEND_PRINT; + opline->extended_value = 1; result->op_type = IS_CONST; ZVAL_LONG(&result->u.constant, 1); diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 3a0304101a..c29f8766e6 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -954,7 +954,6 @@ static zend_always_inline int zend_check_arg_send_type(const zend_function *zf, #define ZEND_ARRAY_SIZE_SHIFT 2 /* Pseudo-opcodes that are used only temporarily during compilation */ -#define ZEND_PRINT 252 #define ZEND_GOTO 253 #define ZEND_BRK 254 #define ZEND_CONT 255 |