note 38761 deleted from function.array-search by vincent

From: Date: Tue, 06 Jan 2004 09:03:19 +0000
Subject: note 38761 deleted from function.array-search by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-62992@lists.php.net to get a copy of this message
Note Submitter: ralfoide at yahoo dot com ---- [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.

« previous php.notes (#62992) next »