php-src/ext/spl/tests/SplFixedArray__construct_param_string.phpt
2009-05-23 15:38:18 +00:00

13 lines
310 B
PHP

--TEST--
SplFixedArray::__construct() with string passed as parameter.
--CREDITS--
PHPNW Test Fest 2009 - Jordan Hatch
--FILE--
<?php
$array = new SplFixedArray( "string" );
?>
--EXPECTF--
Warning: SplFixedArray::__construct() expects parameter 1 to be long, %unicode_string_optional% given in %s on line %d