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--EXPECT-- 16Ok - SplFixedArray::__construct() expects parameter 1 to be int, string given 17