note 12815 deleted from function.ereg by jimw
| From: | jimw@php.net | Date: | Fri, 02 Nov 2001 01:27:25 +0000 |
| Subject: | note 12815 deleted from function.ereg by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20142@lists.php.net to get a copy of this message | ||
If you try to parse:
> if (ereg ($pattern, $string)) { ... }
and get a warning like this:
> Warning: REG_EMPTY in lib.inc on line 1166
it simply means that $pattern has no value.