回答編集履歴
1
調整
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
$a=["ab","a b","ab ","a b"," "," "," "];
|
4
4
|
|
5
|
-
$pattern="/[^\x20\xE3\x80\x80]+/";
|
5
|
+
$pattern="/[^\x20\xE3\x80\x80]+/u";
|
6
6
|
|
7
7
|
foreach($a as $str){
|
8
8
|
|