diff options
Diffstat (limited to 'ext/pcre/tests/bug27103.phpt')
-rw-r--r-- | ext/pcre/tests/bug27103.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/tests/bug27103.phpt b/ext/pcre/tests/bug27103.phpt index 163dc9f1ea..0be4c67d4a 100644 --- a/ext/pcre/tests/bug27103.phpt +++ b/ext/pcre/tests/bug27103.phpt @@ -2,8 +2,8 @@ Bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets) --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-- |