← All docs

mb_eregi()

Searches without case sensitivity and optionally writes multibyte captures by reference.

mb_eregi()

function mb_eregi(string $pattern, string $string, mixed $matches = null): bool

Searches without case sensitivity and optionally writes multibyte captures by reference.

Parameters:

  • $pattern (string)
  • $string (string)
  • $matches (mixed), passed by reference, default null, optional

Returns: bool

Availability

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

Internals

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