note 21182 deleted from function.array-search by cmb
| From: | cmb@php.net | Date: | Sun, 01 Sep 2019 08:00:41 +0000 |
| Subject: | note 21182 deleted from function.array-search by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212083@lists.php.net to get a copy of this message | ||
Note Submitter: swbrown at ucsd dot edu
----
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!