Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.master.cmc.msu.ru/php/function.eregi.html
Дата изменения: Sun Feb 3 22:54:18 2002
Дата индексирования: Mon Oct 1 23:37:09 2012
Кодировка:
eregi

eregi

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

eregi -- case insensitive regular expression match

Description

int eregi ( string pattern, string string [, array regs])

This function is identical to ereg() except that this ignores case distinction when matching alphabetic characters.

Example 1. eregi() example

if (eregi("z", $string)) {
    echo "'$string' contains a 'z' or 'Z'!";
}

See also ereg(), ereg_replace(), and eregi_replace().