1--TEST-- 2JIT ASSIGN_DIM: 007 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.file_update_protection=0 7opcache.jit_buffer_size=1M 8--FILE-- 9<?php 10set_error_handler(function() { 11 $GLOBALS['x'] = $GLOBALS['y']; 12}); 13 14function x(&$s) { 15 $s[0] = 1; 16}; 17$y = false; 18x($y); 19var_dump($x,$y); 20?> 21--EXPECT-- 22array(0) { 23} 24array(1) { 25 [0]=> 26 int(1) 27} 28