← All docs
mb_ereg_search_pos()
Returns the next multibyte regex match byte offset and length, or false.
mb_ereg_search_pos()
function mb_ereg_search_pos(?string $pattern = null, ?string $options = null): array|false
Returns the next multibyte regex match byte offset and length, or false.
Parameters:
$pattern(?string), defaultnull, optional$options(?string), defaultnull, optional
Returns: array|false
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how mb_ereg_search_pos is implemented in the compiler, see the internals page.