xref: /PHP-8.2/ext/opcache/tests/jit/mul_006.phpt (revision 34d22acc)
1--TEST--
2JIT MUL: 006 incorrect guard elimination
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8opcache.protect_memory=1
9--FILE--
10<?php
11for ($i = 0; $i<6; $i++) {
12    $a + -$a=&$a;
13    $a = 3*$a + 0xff000;
14    $a += $a;
15}
16?>
17DONE
18--EXPECT--
19DONE