note 21182 added to function.array-search

From: Date: Thu, 02 May 2002 05:18:50 +0000
Subject: note 21182 added to function.array-search
Groups: php.notes 
Request: Send a blank email to php-notes+get-30074@lists.php.net to get a copy of this message
Be absolutely sure to check that your code that uses array_search now checks for 'false' too if you upgrade to PHP 4.2.0! I was using array_search in my page authentication routines and this change had the fun side-effect of causing my code to always think a user had full permissions! It was letting anyone click through to our installation of phpMyAdmin. Not good indeed! -- http://www.php.net/manual/en/function.array-search.php http://master.php.net/manage/user-notes.php?action=edit+21182 http://master.php.net/manage/user-notes.php?action=delete+21182 http://master.php.net/manage/user-notes.php?action=reject+21182

« previous php.notes (#30074) next »