xref: /php-src/ext/opcache/tests/jit/assign_054.phpt (revision c16ad918)
1--TEST--
2JIT ASSIGN: missing type store
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.protect_memory=1
8--FILE--
9<?php
10function foo($a) {
11    $b = $a = $a + $b & $a += $a;
12    $b = $a = $a + $b & $b & $b = $a = $a + $b = $a = $a + $b = $a += $a;
13    $b = !$a = $a + $b & $b & $b = $b = $a = $a + $b & $a += $a;
14	$a + $b & $b & $b = $a = $a + $b = $a = $a + $b = $a += $a;
15}
16
17@foo(39087589046889428661);
18@foo(390875890468877606478);
19@foo(390875890468877606478);
20?>
21DONE
22--EXPECT--
23DONE
24