php8.5
Home/ Manual/ mbstring / functions/ mb_ereg_search_getpos

mb_ereg_search_getpos

PHP function Edit on GitHub ✎

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

Returns start point for next regular expression match

Description

mb_ereg_search_getpos(): int

Returns the start point for the next regular expression match.

Parameters Parameters

Return Values

mb_ereg_search_getpos() returns the point to start regular expression match for mb_ereg_search(), mb_ereg_search_pos(), mb_ereg_search_regs(). The position is represented by bytes from the head of string.

Notes Internal

See Also

Source: reference/mbstring/functions/mb-ereg-search-getpos.xml · from the official PHP manual (php/doc-en)