xref: /php-src/ext/opcache/tests/jit/jmpz_002.phpt (revision c16ad918)
1--TEST--
2JIT JMPZ: Separate JMPZ for "smart branch" may be only emitted by function JIT
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.protect_memory=1
8--FILE--
9<?php
10function test($b) {
11    if ($b ? 0 : (X>0)){
12        echo "Not taken\n";
13    }
14}
15test(true);
16?>
17DONE
18--EXPECT--
19DONE
20