diff options
Diffstat (limited to 'ext/spl/tests/SplFixedArray_key_setsize.phpt')
-rw-r--r-- | ext/spl/tests/SplFixedArray_key_setsize.phpt | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ext/spl/tests/SplFixedArray_key_setsize.phpt b/ext/spl/tests/SplFixedArray_key_setsize.phpt deleted file mode 100644 index 5c035e71c7..0000000000 --- a/ext/spl/tests/SplFixedArray_key_setsize.phpt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -SplFixedArray::key() when the array has a size higher than the amount of values specified. ---CREDITS-- -PHPNW Test Fest 2009 - Jordan Hatch ---FILE-- -<?php - -$array = new SplFixedArray( 4 ); - -$array[0] = "Hello"; -$array[1] = "world"; -$array[2] = "elePHPant"; - -foreach ( $array as $value ) { - echo $array->key( ); -} - -?> ---EXPECT-- -0123 |