|
|
@ -1,5 +1,11 @@ |
|
|
--TEST-- |
|
|
--TEST-- |
|
|
Bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets) |
|
|
Bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets) |
|
|
|
|
|
--SKIPIF-- |
|
|
|
|
|
<?php |
|
|
|
|
|
if (@preg_match_all('/./u', "", $matches) === false) { |
|
|
|
|
|
die("skip no utf8 support in PCRE library"); |
|
|
|
|
|
} |
|
|
|
|
|
?> |
|
|
--FILE-- |
|
|
--FILE-- |
|
|
<?php |
|
|
<?php |
|
|
function iter($ar) |
|
|
function iter($ar) |
|
|
|