summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_058.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/iterator_058.phpt')
-rw-r--r--ext/spl/tests/iterator_058.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/spl/tests/iterator_058.phpt b/ext/spl/tests/iterator_058.phpt
index 3f65ecb7e4..83d9d91feb 100644
--- a/ext/spl/tests/iterator_058.phpt
+++ b/ext/spl/tests/iterator_058.phpt
@@ -5,16 +5,16 @@ Sebastian Schürmann
--FILE--
<?php
class myIterator implements Iterator {
-
+
function current() {}
function next() {}
- function key() {}
+ function key() {}
function valid() {}
function rewind() {}
-
+
}
try {
- $it = new myIterator();
+ $it = new myIterator();
} catch (InvalidArgumentException $e) {
echo 'InvalidArgumentException thrown';
}