1--TEST--
2SPL FixedArray offsetSet throws error only one parameter
3--CREDITS--
4PHPNW TestFest 2009 - Ben Longden
5--FILE--
6<?php
7$array = new SplFixedArray(5);
8$a = $array->offsetSet(2);
9if(is_null($a)) {
10	echo 'PASS';
11}
12?>
13--EXPECTF--
14Warning: SplFixedArray::offsetSet() expects exactly 2 parameters, 1 given in %s on line %d
15PASS
16