--TEST-- Bug #31158 (array_splice on $GLOBALS crashes) --INI-- error_reporting = E_ALL --FILE-- --EXPECTF-- Warning: Undefined variable $GLOBALS in %s on line %d Warning: Trying to access array offset on value of type null in %s on line %d ok