summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/php_gr_jp_dev_884-2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mbstring/tests/php_gr_jp_dev_884-2.phpt')
-rw-r--r--ext/mbstring/tests/php_gr_jp_dev_884-2.phpt8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/mbstring/tests/php_gr_jp_dev_884-2.phpt b/ext/mbstring/tests/php_gr_jp_dev_884-2.phpt
index 2f74dff64b..937b2171b5 100644
--- a/ext/mbstring/tests/php_gr_jp_dev_884-2.phpt
+++ b/ext/mbstring/tests/php_gr_jp_dev_884-2.phpt
@@ -8,12 +8,16 @@ function_exists('mb_ereg_replace') or die("skip mb_ereg_replace() is not availab
--FILE--
<?php
var_dump(mb_ereg_replace("C?$", "Z", "ABC"));
-var_dump(preg_replace("/C?$/", "Z", "ABC"));
+var_dump(ereg_replace("C?$", "Z", "ABC"));
var_dump(mb_ereg_replace("C*$", "Z", "ABC"));
-var_dump(preg_replace("/C*$/", "Z", "ABC"));
+var_dump(ereg_replace("C*$", "Z", "ABC"));
?>
--EXPECTF--
string(4) "ABZZ"
+
+Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(4) "ABZZ"
string(4) "ABZZ"
+
+Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(4) "ABZZ"