note 9889 added to preg_match
| From: | perlgirl at hotmail dot com | Date: | Wed, 29 Nov 2000 20:35:40 +0000 |
| Subject: | note 9889 added to preg_match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8273@lists.php.net to get a copy of this message | ||
Why does this error?
preg_match('/^\./',$f) && continue;
but this is OK?
if (preg_match('/^\./',$f)) {continue;}
Is a Boolean not a Boolean?
http://www.php.net/manual/function.preg-match.php