mirror of
https://github.com/php/php-src.git
synced 2026-04-28 18:53:33 +02:00
Fixed test & ZEND_BOOL should result TMP_VAR
This commit is contained in:
+1
-1
@@ -6067,7 +6067,7 @@ void zend_compile_short_circuiting(znode *result, zend_ast *ast) /* {{{ */
|
||||
|
||||
zval_ptr_dtor(&right_node.u.constant);
|
||||
} else {
|
||||
zend_emit_op(result, ZEND_BOOL, &right_node, NULL);
|
||||
zend_emit_op_tmp(result, ZEND_BOOL, &right_node, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ opcache.optimization_level=0xFFFFBFFF
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('Zend OPcache')) die("skip"); ?>
|
||||
--FILE--
|
||||
<?
|
||||
<?php
|
||||
0 & ~E & ~R;
|
||||
6 && ~See
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user