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

1.1       misho       1: --TEST--
                      2: Creates array, uses the count function to get the size of the array, but passes a parameter.
                      3: --CREDITS--
                      4: Philip Norton philipnorton42@gmail.com
                      5: --FILE--
                      6: <?php
                      7: $array = new SplFixedArray(5);
                      8: echo $array->count(3);
                      9: ?>
                     10: --EXPECTF--
                     11: Warning: SplFixedArray::count() expects exactly 0 parameters, 1 given in %s on line %d

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