xref: /php-src/ext/opcache/tests/jit/cmp_001.phpt (revision c16ad918)
1--TEST--
2JIT CMP: 001
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.protect_memory=1
8--EXTENSIONS--
9opcache
10--FILE--
11<?php
12$a = 0;
13$b = 0.0;
14var_dump($a < $b);
15var_dump($a > $b);
16var_dump($a <= $b);
17var_dump($a >= $b);
18?>
19--EXPECT--
20bool(false)
21bool(false)
22bool(true)
23bool(true)
24