1--TEST--
2SplFixedArray::setSize() with a null parameter
3--CREDITS--
4PHPNW Testfest 2009 - Adrian Hardy
5--FILE--
6<?php
7$fixed_array = new SplFixedArray(2);
8$fixed_array->setSize(null);
9var_dump($fixed_array);
10?>
11--EXPECTF--
12Deprecated: SplFixedArray::setSize(): Passing null to parameter #1 ($size) of type int is deprecated in %s on line %d
13object(SplFixedArray)#1 (0) {
14}
15