(PHP 3, PHP 4 >= 4.0b1)
int eregi (string pattern, string string [, array regs])
int eregi
This function is identical to ereg() except that this ignores case distinction when matching alphabetic characters.
See also ereg(), ereg_replace(), and eregi_replace().