1--TEST-- 2Capturing array in user error handler during index conversion 3--FILE-- 4<?php 5set_error_handler(function($code, $msg) { 6 echo "Err: $msg\n"; 7 $GLOBALS[''] = $GLOBALS['y']; 8}); 9function x(&$s){ 10 $s[100000000000000000000] = 1; 11} 12x($y); 13var_dump($y); 14?> 15--EXPECT-- 16Err: Implicit conversion from float 1.0E+20 to int loses precision 17array(0) { 18} 19