From: Moriyoshi Koizumi Date: Sun, 1 Feb 2004 03:03:15 +0000 (+0000) Subject: - Forgot to add test case. X-Git-Tag: php-5.0.0b4RC1~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65e22c3316585915e249df87c38b6df241aa434d;p=php - Forgot to add test case. --- diff --git a/ext/pcre/tests/bug27103.phpt b/ext/pcre/tests/bug27103.phpt new file mode 100644 index 0000000000..185225d310 --- /dev/null +++ b/ext/pcre/tests/bug27103.phpt @@ -0,0 +1,37 @@ +--TEST-- +Bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets) +--FILE-- + +--EXPECT-- +€: 3 + : 1 +h: 1 +i: 1 + : 1 +t: 1 +h: 1 +e: 1 +r: 1 +e: 1 +€: 3 + : 1 +h: 1 +i: 1 + : 1 +t: 1 +h: 1 +e: 1 +r: 1 +e: 1 +