php-src/Zend/tests/bug69871.phpt

16 lines
193 B
Plaintext
Raw Normal View History

2015-06-19 15:13:23 +00:00
--TEST--
Bug #69871 (Short-circuiting failure with smart_branch)
--FILE--
<?php
$a = true;
if (isset($a) && 0) {
2020-02-03 21:52:20 +00:00
var_dump(true);
2015-06-19 15:13:23 +00:00
} else {
2020-02-03 21:52:20 +00:00
var_dump(false);
2015-06-19 15:13:23 +00:00
}
?>
--EXPECT--
bool(false)