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

1.1       misho       1: --TEST--
                      2: SplFixedArray::__construct() with string passed as parameter.
                      3: --CREDITS--
                      4: PHPNW Test Fest 2009 - Jordan Hatch
                      5: --FILE--
                      6: <?php
                      7: 
                      8: $array = new SplFixedArray( "string" );
                      9: 
                     10: ?>
                     11: --EXPECTF--
                     12: Warning: SplFixedArray::__construct() expects parameter 1 to be long, %unicode_string_optional% given in %s on line %d

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