SplFixedArray_fromArray_invalid_parameter_002.phpt   [plain text]


--TEST--
pass a string into fromArray()
--CREDITS--
PHPNW Testfest 2009 - Lorna Mitchell
--FILE--
<?php
echo SplFixedArray::fromArray('hello');
?>
--EXPECTF--
Warning: SplFixedArray::fromArray() expects parameter 1 to be array, %unicode_string_optional% given in %s on line %d