(PHP 4 >= 4.2.0, PHP 5, PHP 7)
mb_ereg_search_setpos — Set start point of next regular expression match
$position
)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 position s has been added.
|
Note:
내부 인코딩이나 mb_regex_encoding()으로 정의한 문자 인코딩을 이 함수의 문자 인코딩으로 사용할 수 있습니다.