mb_regex_set_options

(PHP 4 4.3.0 only)

mb_regex_set_options --  Set/Get the default options for mbregex functions

Description

string mb_regex_set_options ( [string options])

警告

這個函數是 實驗性質的。這個函數的行為、名稱、 和關於此函數的任何其他文件 在未來PHP的發行中可能會在不通知的情況下改變。 使用此延伸需自行承擔風險。

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.

注: This function is supported in PHP 4.3.0 or higher.

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