1
0
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:
Xinchen Hui
2015-09-30 10:41:27 +08:00
parent df2ff75116
commit 45cb42f49f
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -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);
-1
View File
@@ -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