Annotation of embedaddon/php/ext/spl/tests/fixedarray_014.phpt, revision 1.1.1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>