Warning This function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0.
Alternatives to this function include:
- preg_match() (with the i (
This function is since PHP 5.3.0 deprecated. It’s not recommended to use any more.
So you could instead
– PHP-Version downgrade
-Replace all occurrences of eregi by preg_match, according to the pattern
eregi('pattern', $string, $matches)
preg_match('/pattern/i', $string, $matches)