diff options
Diffstat (limited to 'ext/spl/tests/SplFixedArray_offsetExists_invalid_parameter.phpt')
| -rw-r--r-- | ext/spl/tests/SplFixedArray_offsetExists_invalid_parameter.phpt | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ext/spl/tests/SplFixedArray_offsetExists_invalid_parameter.phpt b/ext/spl/tests/SplFixedArray_offsetExists_invalid_parameter.phpt deleted file mode 100644 index 76ee2f58ad..0000000000 --- a/ext/spl/tests/SplFixedArray_offsetExists_invalid_parameter.phpt +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -SPL FixedArray offsetExists throws error only one parameter ---CREDITS-- -PHPNW TestFest 2009 - Ben Longden ---FILE-- -<?php -$array = new SplFixedArray(5); -$a = $array->offsetExists(); -if(is_null($a)) { - echo 'PASS'; -} -?> ---EXPECTF-- -Warning: SplFixedArray::offsetExists() expects exactly 1 parameter, 0 given in %s on line %d -PASS |
