summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/jit/bug79358.phpt
blob: 1d794045a850993b40558191741b0f6730db7309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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)