mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
Simply use 0/1 instead as dmitry suggested
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user