mb_ereg_search_setpos

(PHP 4 >= 4.2.0, PHP 5, PHP 7)

mb_ereg_search_setposSet start point of next regular expression match

说锟斤拷

mb_ereg_search_setpos ( int $position ) : bool

mb_ereg_search_setpos() sets the starting point of a match for mb_ereg_search().

锟斤拷锟斤拷

position

The position to set. If it is negative, it counts from the end of the string.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟斤拷锟斤拷锟斤拷志

锟芥本 说锟斤拷
7.1.0 Support for negative positions has been added.

注锟斤拷

Note:

mb_regex_encoding() 指锟斤拷锟斤拷锟节诧拷锟斤拷锟斤拷锟斤拷址锟斤拷锟斤拷虢拷岬憋拷锟斤拷撕锟斤拷锟斤拷玫锟斤拷址锟斤拷锟斤拷搿�

锟轿硷拷