xref: /php-src/ext/opcache/tests/jit/add_013.phpt (revision c16ad918)
1--TEST--
2JIT ADD: 013 register allocation (incorrect hinting)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7--FILE--
8<?php
9function y(){
10    $j = 2;
11    for (; $a = $j - 7 + $y = $a - 7; $a = $a + 1 / 3) {
12        $j++;
13        if ($j > 4) break;
14    }
15}
16?>
17DONE
18--EXPECT--
19DONE