xref: /php-src/ext/opcache/tests/jit/mul_007.phpt (revision c16ad918)
1--TEST--
2JIT MUL: 007 incorrect optimization
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.protect_memory=1
8--FILE--
9<?php
10function test() {
11    1.5%2%2%2/2%2;
12}
13test();
14?>
15DONE
16--EXPECTF--
17Deprecated: Implicit conversion from float 1.5 to int loses precision in %smul_007.php on line 3
18
19Deprecated: Implicit conversion from float 0.5 to int loses precision in %smul_007.php on line 3
20DONE