PHP Manual
Prev |  | Next

# mb_regex_encoding

(PHP 4 >= 4.2.0)

mb_regex_encoding -- Returns current encoding for multibyte regex as string

## Description

string mb_regex_encoding ( [string encoding])

Warning
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

mb_regex_encoding() returns the character encoding used by multibyte regex functions.

If the optional parameter `encoding` is specified, it is set to the character encoding for multibyte regex. The default value is the internal character encoding.

> Note: This function is supported in PHP 4.2.0 or higher.

See also: mb_internal_encoding(), mb_ereg()

Prev | Home | Next
mb_preferred_mime_name | Up | mb_regex_set_options