mb_regex_encoding
(PHP 4 >= 4.2.0, PHP 5)
mb_regex_encoding — Returns current encoding for multibyte regex as string
说明
mixed mb_regex_encoding ([ string $encoding ] )Returns the current encoding for a multibyte regex as a string.
参数
- encoding
-
encoding 参数为字符编码。如果省略,则使用内部字符编码。
返回值
Returns the character encoding used by multibyte regex functions.
参见
- mb_internal_encoding() - Set/Get internal character encoding
- mb_ereg() - Regular expression match with multibyte support