1--TEST--
2SplFixedArray::setSize() with an array parameter
3--CREDITS--
4PHPNW Testfest 2009 - Adrian Hardy
5--FILE--
6<?php
7$fixed_array = new SplFixedArray(2);
8$fixed_array->setSize(array());
9var_dump($fixed_array);
10?>
11--EXPECTF--
12Warning: SplFixedArray::setSize() expects parameter 1 to be int, array given in %s on line %d
13object(SplFixedArray)#1 (2) {
14  [0]=>
15  NULL
16  [1]=>
17  NULL
18}
19