日本語を含むパターンを使う場合は\uオプション必須。

CherenkovCherenkov のブックマーク 2011/04/22 17:07

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

PHP: 正規表現パターンに使用可能な修飾子 - Manual

    Regarding the validity of a UTF-8 string when using the /u pattern modifier, some things to be aware of; 1. If the pattern itself contains an invalid UTF-8 character, you get an error (as mentioned...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう