Merge branch 'PHP-7.0'

This commit is contained in:
Xinchen Hui committed 2015-09-30 10:42:23 +08:00
commit ba2b0c11b3
2 files changed
+2 -3

No files matched your search

+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