(PHP 4 >= 4.2.0, PHP 5, PHP 7)
mb_eregi — Regular expression match ignoring case with multibyte support
mb_eregi ( string $pattern , string $string [, array &$matches = null ] ) : bool
Executes the case insensitive regular expression match with multibyte support.
The regular expression pattern.
The string being searched.
If matches are found for parenthesized substrings of
pattern and the function is called with the third argument
matches, the matches will be stored in the elements of the array
matches. If no matches are found,
matches is set to an empty array.
$matches will contain the substring which starts at the first left parenthesis; $matches will contain the substring starting at the second, and so on. $matches will contain a copy of the complete string matched.
|8.0.0|| This function returns |
|7.1.0|| mb_eregi() will now set |
The internal encoding or the character encoding specified by mb_regex_encoding() will be used as the character encoding for this function.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.