dis-bench / src /php /php-src /ext /opcache /tests /block_pass_001.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
236 Bytes
--TEST--
Block pass: Bugs in BOOL/QM_ASSIGN elision
--EXTENSIONS--
opcache
--FILE--
<?php
(bool) (true ? $x : $y);
(bool) (true ? new stdClass : null);
(bool) new stdClass;
?>
--EXPECTF--
Warning: Undefined variable $x in %s on line %d