summaryrefslogtreecommitdiff
path: root/ext/spl/tests/SplFixedArray_offsetUnset_string.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/SplFixedArray_offsetUnset_string.phpt')
-rw-r--r--ext/spl/tests/SplFixedArray_offsetUnset_string.phpt18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/spl/tests/SplFixedArray_offsetUnset_string.phpt b/ext/spl/tests/SplFixedArray_offsetUnset_string.phpt
index 3b0e6bb222..1d7c50d39e 100644
--- a/ext/spl/tests/SplFixedArray_offsetUnset_string.phpt
+++ b/ext/spl/tests/SplFixedArray_offsetUnset_string.phpt
@@ -4,18 +4,18 @@ Check removing an item from an array when the offset is not an integer.
PHPNW Testfest 2009 - Paul Court ( g@rgoyle.com )
--FILE--
<?php
- // Create a fixed array
- $fixedArray = new SplFixedArray(5);
+ // Create a fixed array
+ $fixedArray = new SplFixedArray(5);
- // Fill it up
- for ($i=0; $i < 5; $i++) {
- $fixedArray[$i] = "PHPNW Testfest";
- }
+ // Fill it up
+ for ($i=0; $i < 5; $i++) {
+ $fixedArray[$i] = "PHPNW Testfest";
+ }
- // remove an item
- $fixedArray->offsetUnset("4");
+ // remove an item
+ $fixedArray->offsetUnset("4");
- var_dump($fixedArray);
+ var_dump($fixedArray);
?>
--EXPECT--