← All docs

mb_ereg_search_getpos()

Reads the current byte position in the retained multibyte regex subject.

mb_ereg_search_getpos()

function mb_ereg_search_getpos(): int

Reads the current byte position in the retained multibyte regex subject.

Parameters: none.

Returns: int

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mb_ereg_search_getpos is implemented in the compiler, see the internals page.