summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug54304.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/bug54304.phpt')
-rw-r--r--ext/spl/tests/bug54304.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/spl/tests/bug54304.phpt b/ext/spl/tests/bug54304.phpt
index 143c26e153..5c6991a1ad 100644
--- a/ext/spl/tests/bug54304.phpt
+++ b/ext/spl/tests/bug54304.phpt
@@ -3,10 +3,10 @@ Bug #54304 (Setting replacement value for RegexIterator doesn't work)
--FILE--
<?php
class foo extends ArrayIterator {
- public function __construct( ) {
- parent::__construct(array(
- 'test3'=>'test999'));
- }
+ public function __construct( ) {
+ parent::__construct(array(
+ 'test3'=>'test999'));
+ }
}
$h = new foo;
@@ -14,7 +14,7 @@ $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
$i->replacement = 42;
var_dump($i->replacement);
foreach ($i as $name=>$value) {
- var_dump($name, $value);
+ var_dump($name, $value);
}
var_dump($i->replacement);
?>