Skip to content

Commit 89fda08

Browse files
committed
This test should be kept
1 parent 307c734 commit 89fda08

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Zend/tests/bug69871.phpt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--TEST--
2+
Bug #69871 (Short-circuiting failure with smart_branch)
3+
--INI--
4+
opcache.enable=0
5+
--FILE--
6+
<?php
7+
8+
$a = true;
9+
if (isset($a) && 0) {
10+
var_dump(true);
11+
} else {
12+
var_dump(false);
13+
}
14+
15+
?>
16+
--EXPECT--
17+
bool(false)

0 commit comments

Comments
 (0)