mb_ereg_search_setpos
(PHP 4 >= 4.2.0, PHP 5)
mb_ereg_search_setpos — Set start point of next regular expression match
说明
bool mb_ereg_search_setpos ( int $position )mb_ereg_search_setpos() sets the starting point of a match for mb_ereg_search().
参数
- position
-
The position to set.
返回值
成功时返回 TRUE, 或者在失败时返回 FALSE.
注释
Note:
mb_regex_encoding() 指定的内部编码或字符编码将会当作此函数用的字符编码。
参见
- mb_regex_encoding() - Returns current encoding for multibyte regex as string
- mb_ereg_search_init() - Setup string and regular expression for a multibyte regular expression match