diff options
Diffstat (limited to 'ext/pcre/tests/preg_replace2.phpt')
| -rw-r--r-- | ext/pcre/tests/preg_replace2.phpt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/pcre/tests/preg_replace2.phpt b/ext/pcre/tests/preg_replace2.phpt index 4e2f39f8c..0901c3b02 100644 --- a/ext/pcre/tests/preg_replace2.phpt +++ b/ext/pcre/tests/preg_replace2.phpt @@ -1,5 +1,11 @@ --TEST-- preg_replace() +--SKIPIF-- +<?php +if (@preg_match_all('/./u', "", $matches) === false) { + die("skip no utf8 support in PCRE library"); +} +?> --FILE-- <?php |
