diff options
Diffstat (limited to 'ext/spl/tests/SplFixedArray_getSize_pass_param.phpt')
| -rw-r--r-- | ext/spl/tests/SplFixedArray_getSize_pass_param.phpt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/spl/tests/SplFixedArray_getSize_pass_param.phpt b/ext/spl/tests/SplFixedArray_getSize_pass_param.phpt index d60c4bd8f..ef4f40c32 100644 --- a/ext/spl/tests/SplFixedArray_getSize_pass_param.phpt +++ b/ext/spl/tests/SplFixedArray_getSize_pass_param.phpt @@ -1,12 +1,12 @@ ---TEST--
-SplFixedArray::getSize() pass a parameter when none are expected
---CREDITS--
-PHPNW Testfest 2009 - Adrian Hardy
---FILE--
-<?php
-$fixed_array = new SplFixedArray(2);
-echo "*test* ".$fixed_array->getSize(3);
-?>
---EXPECTF--
-Warning: SplFixedArray::getSize() expects exactly 0 parameters, 1 given in %s on line %d
-*test*
+--TEST-- +SplFixedArray::getSize() pass a parameter when none are expected +--CREDITS-- +PHPNW Testfest 2009 - Adrian Hardy +--FILE-- +<?php +$fixed_array = new SplFixedArray(2); +echo "*test* ".$fixed_array->getSize(3); +?> +--EXPECTF-- +Warning: SplFixedArray::getSize() expects exactly 0 parameters, 1 given in %s on line %d +*test* |
