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

1.1       misho       1: --TEST--
                      2: Checks that offsetExists() does not accept a value larger than the array.
                      3: --CREDITS--
                      4:  PHPNW Test Fest 2009 - Rick Ogden
                      5: --FILE--
                      6: <?php
                      7: $ar = new SplFixedArray(3);
                      8: $ar[0] = 1;
                      9: $ar[1] = 2;
                     10: $ar[2] = 3;
                     11: 
                     12: var_dump($ar->offsetExists(4));
                     13: ?>
                     14: --EXPECT--
                     15: bool(false)

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