土耳其語字符 ? ? ? ü 不支持。我累極了。<?phpheader('Content-Type: text/html; charset=utf-8');$test = "azAZ09andSpace supported but this turkish characters ? ? ? ü like not supported"; //So it goes to the "else block".if (preg_match('/^[a-zA-Z0-9 ]+$/', $test)){echo "match";}else{echo "not match"; //return false. Because ? ? ? ü like not supported}?>
PHP preg_match 語言依賴解釋錯誤
慕尼黑8549860
2023-03-04 17:37:21