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