note 80678 deleted from function.empty by cmb
| From: | cmb@php.net | Date: | Fri, 26 Apr 2019 16:54:29 +0000 |
| Subject: | note 80678 deleted from function.empty by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210677@lists.php.net to get a copy of this message | ||
Note Submitter: jay at w3prodigy dot com
----
Also note, that if you have a URI that looks like this:
/page/index.php?query=
performing isset($_GET['query']) will return TRUE. as query is set, though null, in the
QUERY.
To counteract this behavior, check isset($_GET['query']) and
!empty($_GET['query']) as empty will detect the null value.