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

1.1       misho       1: --TEST--
                      2: pass a string into fromArray()
                      3: --CREDITS--
                      4: PHPNW Testfest 2009 - Lorna Mitchell
                      5: --FILE--
                      6: <?php
                      7: echo SplFixedArray::fromArray('hello');
                      8: ?>
                      9: --EXPECTF--
                     10: Warning: SplFixedArray::fromArray() expects parameter 1 to be array, %unicode_string_optional% given in %s on line %d

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