1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--TEST-- SPL: FixedArray: Trying to access inexistent item --FILE-- <?php try { $a = new SplFixedArray(NULL); echo $a[0]++; } catch (Exception $e) { echo $e->getMessage(); } ?> --EXPECT-- Index invalid or out of range