summaryrefslogtreecommitdiff
path: root/ext/pcre/tests/preg_replace2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/tests/preg_replace2.phpt')
-rw-r--r--ext/pcre/tests/preg_replace2.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/tests/preg_replace2.phpt b/ext/pcre/tests/preg_replace2.phpt
index 4a191f3331..0901c3b024 100644
--- a/ext/pcre/tests/preg_replace2.phpt
+++ b/ext/pcre/tests/preg_replace2.phpt
@@ -2,8 +2,8 @@
preg_replace()
--SKIPIF--
<?php
-if (@preg_match('/./u', '') === false) {
- die('skip no utf8 support in PCRE library');
+if (@preg_match_all('/./u', "", $matches) === false) {
+ die("skip no utf8 support in PCRE library");
}
?>
--FILE--