Skip to content

Commit

Permalink
Fixed test & ZEND_BOOL should result TMP_VAR
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Mar 17, 2016
1 parent 345ecd9 commit 93499bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Zend/zend_compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down
2 changes: 1 addition & 1 deletion ext/opcache/tests/bug71843.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ opcache.optimization_level=0xFFFFBFFF
--SKIPIF--
<?php if (!extension_loaded('Zend OPcache')) die("skip"); ?>
--FILE--
<?
<?php
0 & ~E & ~R;
6 && ~See
?>
Expand Down

0 comments on commit 93499bf

Please sign in to comment.