(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.
encodingDer encoding
Parameter legt das Zeichenencoding fest. Wird er nicht übergeben so wird die interne Zeichenkodierung genutzt.
If encoding is set, then
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
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.
| Version | Beschreibung |
|---|---|
| 5.6.0 | Default encoding is changed to UTF-8. It was EUC-JP Previously. |