# mb_regex_set_options

(PHP 4 >= 4.3.0, PHP 5)

mb_regex_set_options — Set/Get the default options for mbregex functions

### Description

string mb_regex_set_options ([ string `$options` ] )

mb_regex_set_options() sets the default options described by `options` for multibyte regex functions.

Returns the previous options. If `options` is omitted, it returns the string that describes the current options.

See also mb_split(), mb_ereg() and mb_eregi()