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