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