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

1.1       misho       1: --TEST--
                      2: SPL: FixedArray: adding new elements
                      3: --FILE--
                      4: <?php
                      5: 
                      6: $a = new SplFixedArray(10);
                      7: 
                      8: try {
                      9:        $a[] = 1;
                     10: } catch (Exception $e) {
                     11:        var_dump($e->getMessage());
                     12: }
                     13: 
                     14: ?>
                     15: ===DONE===
                     16: --EXPECTF--
                     17: string(29) "Index invalid or out of range"
                     18: ===DONE===

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