(PHP 3, PHP 4 >= 4.0.0)
This function is identical to ereg() except that this ignores case distinction when matching alphabetic characters.
P°φklad 1. eregi() example
if (eregi("z", $string)) { echo "'$string' contains a 'z' or 'Z'!"; }
See also ereg(), ereg_replace(), and eregi_replace().