1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 06:51:18 +02:00
Files
archived-php-src/ext/opcache/tests/jit/bug79358.phpt
Max Semenik e9f783fcdd Migrate skip checks to --EXTENSIONS--, p3
For rationale, see #6787

Extensions migrated in part 3:
* ftp
* gmp
* iconv
* opcache
* shmop
2021-04-03 15:23:25 +02:00

18 lines
253 B
PHP

--TEST--
Bug #79358: JIT miscompile in composer
--EXTENSIONS--
opcache
--FILE--
<?php
function test(int $x) {
return ($x > 0xdead && unimportant()) ||
($x < 0xbeef && unimportant());
}
var_dump(test(0xcccc));
?>
--EXPECT--
bool(false)