mirror of
https://github.com/php/php-src.git
synced 2026-04-19 22:11:12 +02:00
16 lines
230 B
PHP
16 lines
230 B
PHP
--TEST--
|
|
Bug #79358: JIT miscompile in composer
|
|
--FILE--
|
|
<?php
|
|
|
|
function test(int $x) {
|
|
return ($x > 0xdead && unimportant()) ||
|
|
($x < 0xbeef && unimportant());
|
|
}
|
|
|
|
var_dump(test(0xcccc));
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|