Return to fixedarray_014.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / spl / tests |
php
--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