summaryrefslogtreecommitdiff
path: root/ext/spl/tests/fixedarray_021.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/fixedarray_021.phpt')
-rw-r--r--ext/spl/tests/fixedarray_021.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/spl/tests/fixedarray_021.phpt b/ext/spl/tests/fixedarray_021.phpt
index 813de176c8..db4962ef48 100644
--- a/ext/spl/tests/fixedarray_021.phpt
+++ b/ext/spl/tests/fixedarray_021.phpt
@@ -11,17 +11,17 @@ var_dump($a->count());
/* negative init value */
try {
- $b = new SplFixedArray(-10);
+ $b = new SplFixedArray(-10);
} catch (Exception $e) {
- var_dump($e->getMessage());
+ var_dump($e->getMessage());
}
/* resize and negative value */
$b = new SplFixedArray();
try {
- $b->setSize(-5);
+ $b->setSize(-5);
} catch (Exception $e) {
- var_dump($e->getMessage());
+ var_dump($e->getMessage());
}
/* calling __construct() twice */
@@ -43,11 +43,11 @@ $e[1] = 5;
$e[2] = 10;
try {
- foreach ($e as $k=>&$v) {
- var_dump($v);
- }
+ foreach ($e as $k=>&$v) {
+ var_dump($v);
+ }
} catch (Exception $e) {
- var_dump($e->getMessage());
+ var_dump($e->getMessage());
}
//non-long indexes