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