xref: /PHP-8.4/ext/opcache/tests/jit/bug79358.phpt (revision e9f783fc)
1--TEST--
2Bug #79358: JIT miscompile in composer
3--EXTENSIONS--
4opcache
5--FILE--
6<?php
7
8function test(int $x) {
9    return ($x > 0xdead && unimportant()) ||
10           ($x < 0xbeef && unimportant());
11}
12
13var_dump(test(0xcccc));
14
15?>
16--EXPECT--
17bool(false)
18