1--TEST-- 2SplFixedArray::__construct() with string passed as parameter. 3--CREDITS-- 4PHPNW Test Fest 2009 - Jordan Hatch 5--FILE-- 6<?php 7try { 8 $array = new SplFixedArray( "string" ); 9} catch (TypeError $iae) { 10 echo "Ok - ".$iae->getMessage().PHP_EOL; 11} 12 13 14?> 15--EXPECTF-- 16Ok - SplFixedArray::__construct() expects parameter 1 to be integer, %unicode_string_optional% given 17