mb_ereg_search
Function • Deprecated in PHP 8.6
Multibyte regular expression match for predefined multibyte string.
mb_ereg_search Function synopsis
#[\Deprecated]
mb_ereg_search(?string $pattern = null, ?string $options = null): bool
Parameters
$pattern
OptionalType?stringDefault valuenull
The search pattern.
$options
OptionalType?stringDefault valuenull
The search option. See mb_regex_set_options for explanation.
Return value
Typebool
Changes to the mb_ereg_search Function
PHP 8.6
- Function deprecated
PHP 8.0
- Return type added:
bool - Parameter type added for parameter #1 (
$pattern):?string - Parameter default value added for position #1 (
$pattern):null - Parameter name of parameter #2 changed:
$optionto$options - Parameter type added for parameter #2 (
$options):?string - Parameter default value added for position #2 (
$options):null
- mb_ereg_search($pattern, $option)
+ mb_ereg_search(?string $pattern = null, ?string $options = null): bool mb_ereg_search Function Availability
mb_ereg_search Function Availability| PHP Version | Availability |
|---|---|
| PHP 8.6Upcoming Release | Yes Deprecated |
| PHP 8.5Supported (Latest) | Yes |
| PHP 8.4Supported | Yes |
| PHP 8.3Security-Fixes Only | Yes |
| PHP 8.2Security-Fixes Only | Yes |
| PHP 8.1Unsupported | Yes |
| PHP 8.0Unsupported | Yes |
| PHP 7.4Unsupported | Yes |
| PHP 7.3Unsupported | Yes |
| PHP 7.2Unsupported | Yes |
| PHP 7.1Unsupported | Yes |
| PHP 7.0Unsupported | Yes |
| PHP 5.6Unsupported | Yes |
| PHP 5.5Unsupported | Yes |
| PHP 5.4Unsupported | Yes |
| PHP 5.3Unsupported | Yes |