summaryrefslogtreecommitdiff
path: root/ext/pcre/tests
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-03-14 23:47:44 +0000
committerAntony Dovgal <tony2001@php.net>2007-03-14 23:47:44 +0000
commitf6536ed2b23f3c5384ba9d89fa1ef5c48c6c129d (patch)
treef8d1cf41181930d1839835f983d11e2187e38ea2 /ext/pcre/tests
parent7aab16c333c25efccafd953e89e767e009e527e4 (diff)
downloadphp-git-f6536ed2b23f3c5384ba9d89fa1ef5c48c6c129d.tar.gz
MFH: remove unnecessary warning in case of exception
Diffstat (limited to 'ext/pcre/tests')
-rw-r--r--ext/pcre/tests/preg_replace_callback2.phpt1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/pcre/tests/preg_replace_callback2.phpt b/ext/pcre/tests/preg_replace_callback2.phpt
index a7f5a362dc..7989509aa1 100644
--- a/ext/pcre/tests/preg_replace_callback2.phpt
+++ b/ext/pcre/tests/preg_replace_callback2.phpt
@@ -22,7 +22,6 @@ var_dump(preg_replace_callback('~\A.~', 'g', array(array('xyz'))));
var_dump(preg_replace_callback('~\A.~', create_function('$m', 'return strtolower($m[0]);'), 'ABC'));
?>
--EXPECTF--
-Warning: preg_replace_callback(): Unable to call custom replacement function in %spreg_replace_callback2.php on line %d
array(3) {
[0]=>
string(12) "'a' 'b3' bcd"