note 101951 deleted from function.array-search by danbrown
| From: | danbrown@php.net | Date: | Wed, 19 Jan 2011 22:09:50 +0000 |
| Subject: | note 101951 deleted from function.array-search by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-175913@lists.php.net to get a copy of this message | ||
Note Submitter: syrgjyn at gmail dot com
Reason: integrated
----
The function below is missing a bugfix. The fix is there in the code to replace (thanks, editor!),
but the function itself doesn't have it. The line:
$i += $ncount;
should be:
$i += $ncount - 1;