note 101951 added to function.array-search

From: Date: Wed, 19 Jan 2011 22:06:21 +0000
Subject: note 101951 added to function.array-search
Groups: php.notes 
Request: Send a blank email to php-notes+get-175911@lists.php.net to get a copy of this message
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; ---- Server IP: 69.147.83.197 Probable Submitter: 95.107.219.213 ---- Manual Page -- http://www.php.net/manual/en/function.array-search.php Edit -- https://master.php.net/note/edit/101951 Del: integrated -- https://master.php.net/note/delete/101951/integrated Del: useless -- https://master.php.net/note/delete/101951/useless Del: bad code -- https://master.php.net/note/delete/101951/bad+code Del: spam -- https://master.php.net/note/delete/101951/spam Del: non-english -- https://master.php.net/note/delete/101951/non-english Del: in docs -- https://master.php.net/note/delete/101951/in+docs Del: other reasons-- https://master.php.net/note/delete/101951 Reject -- https://master.php.net/note/reject/101951 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175911) next »