1--TEST--
2JIT ASSIGN_STATIC_PROP: 001
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7--EXTENSIONS--
8opcache
9--FILE--
10<?php
11class Foo {
12    public static $prop;
13}
14
15function test($x) {
16    $a = [$x];
17    Foo::$prop = $a;
18    $a = 42;
19}
20test(42);
21var_dump(Foo::$prop);
22?>
23--EXPECT--
24array(1) {
25  [0]=>
26  int(42)
27}
28