(PHP 4 >= 4.2.0, PHP 5, PHP 7)
mb_regex_encoding — Set/Get character encoding for multibyte regex
Set/Get character encoding for a multibyte regex.
encodingO parâmetro encoding
é a codificação de caractere. Se ele é omitido, o valor da codificação de caractere interna
é usado.
If encoding is set, then
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
In this case, the internal character encoding is NOT changed.
If encoding is omitted, then
the current character encoding name for a multibyte regex is returned.
| Versão | Descrição |
|---|---|
| 5.6.0 | Default encoding is changed to UTF-8. It was EUC-JP Previously. |