(PHP 4 >= 4.2.0, PHP 5, PHP 7)
mb_ereg_search_setpos — Set start point of next regular expression match
$offset
) : boolmb_ereg_search_setpos() sets the starting point of a match for mb_ereg_search().
offset
The position to set. If it is negative, it counts from the end of the string.
Retorna true
em caso de sucesso ou false
em caso de falha.
Versão | Descrição |
---|---|
7.1.0 |
Support for negative offset s has been added.
|
Nota:
A codificação interna ou a codificação de caractere especificado por mb_regex_encoding() será usado como a codificação de caractere para esta função.