summaryrefslogtreecommitdiff
path: root/tests/classes/iterators_007.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/iterators_007.phpt')
-rw-r--r--tests/classes/iterators_007.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/iterators_007.phpt b/tests/classes/iterators_007.phpt
index f2638b31dc..87b7e5318b 100644
--- a/tests/classes/iterators_007.phpt
+++ b/tests/classes/iterators_007.phpt
@@ -6,7 +6,7 @@ class Test implements Iterator
{
public $arr = array(1, 2, 3);
public $x = 0;
-
+
public function rewind() { if ($this->x == 0) throw new Exception(__METHOD__); reset($this->arr); }
public function current() { if ($this->x == 1) throw new Exception(__METHOD__); return current($this->arr); }
public function key() { if ($this->x == 2) throw new Exception(__METHOD__); return key($this->arr); }