← All docs
mb_ereg_search_setpos()
Changes the progressive regex byte position, accepting negative offsets relative to the retained subject.
mb_ereg_search_setpos()
function mb_ereg_search_setpos(int $offset): bool
Changes the progressive regex byte position, accepting negative offsets relative to the retained subject.
Parameters:
$offset(int)
Returns: bool
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how mb_ereg_search_setpos is implemented in the compiler, see the internals page.