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