summaryrefslogtreecommitdiff
path: root/ext/pcre/tests/bug21758.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/tests/bug21758.phpt')
-rw-r--r--ext/pcre/tests/bug21758.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/pcre/tests/bug21758.phpt b/ext/pcre/tests/bug21758.phpt
index db599196f2..6e407d4a17 100644
--- a/ext/pcre/tests/bug21758.phpt
+++ b/ext/pcre/tests/bug21758.phpt
@@ -4,20 +4,20 @@ Bug #21758 (preg_replace_callback() not working with class methods)
<?php
class Foo {
function __construct() {
-
+
$s = 'preg_replace() is broken';
-
+
var_dump(preg_replace_callback(
'/broken/',
array(&$this, 'bar'),
$s
));
}
-
+
function bar() {
return 'working';
}
-
+
} // of Foo
$o = new Foo;