note 38761 added to function.array-search

From: Date: Tue, 06 Jan 2004 08:55:41 +0000
Subject: note 38761 added to function.array-search
Groups: php.notes 
Request: Send a blank email to php-notes+get-62991@lists.php.net to get a copy of this message
[Update -> I got confused and reversed the order in my previous email] Note that the description of the function prototype and the first example are contradictory and led me to confusion. Description says: array_search(mixed needle, array haystack [, bool strict]) But example says: array_search($array, "needle"); Arguments are reversed in the example. With PHP 4.1.2, the description's argument order works. ---- Manual Page -- http://www.php.net/manual/en/function.array-search.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38761 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38761&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38761&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#62991) next »