← All docs

mb_ereg_search()

Searches the retained multibyte subject and advances the shared byte position.

function mb_ereg_search(?string $pattern = null, ?string $options = null): bool

Searches the retained multibyte subject and advances the shared byte position.

Parameters:

  • $pattern (?string), default null, optional
  • $options (?string), default null, optional

Returns: bool

Availability

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

Internals

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