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