summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_052.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/iterator_052.phpt')
-rw-r--r--ext/spl/tests/iterator_052.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/tests/iterator_052.phpt b/ext/spl/tests/iterator_052.phpt
index 84b3eb993c..4c8191fab7 100644
--- a/ext/spl/tests/iterator_052.phpt
+++ b/ext/spl/tests/iterator_052.phpt
@@ -6,7 +6,7 @@ SPL: RegexIterator::ALL_MATCHES
class MyRegexIterator extends RegexIterator
{
public $uk, $re;
-
+
function __construct($it, $re, $mode, $flags = 0)
{
$this->uk = $flags & self::USE_KEY;
@@ -22,7 +22,7 @@ class MyRegexIterator extends RegexIterator
var_dump($v);
}
}
-
+
function accept()
{
@preg_match_all($this->re, (string)($this->uk ? $this->key() : $this->current()), $sub);