note 106808 rejected from function.array-key-exists by danbrown
| From: | danbrown@php.net | Date: | Sun, 11 Dec 2011 19:13:55 +0000 |
| Subject: | note 106808 rejected from function.array-key-exists by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185035@lists.php.net to get a copy of this message | ||
Note Submitter: matthew at zeut dot net
----
I believe there is a bug.
if(!$blnFound && count($arrNeedles) == 0 || $blnMatchAll)
Should read:
if(!$blnFound && (count($arrNeedles) == 0 || $blnMatchAll))