note 107844 deleted from function.isset by cmb
| From: | cmb@php.net | Date: | Sun, 10 Feb 2019 11:25:48 +0000 |
| Subject: | note 107844 deleted from function.isset by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210216@lists.php.net to get a copy of this message | ||
Note Submitter: david at thegallagher dot net
----
Just to reiterate on what everyone has already said before, you should not use wrapper functions for
isset. Using a wrapper function will generate a Notice unless you pass the unset variable by
reference, in which case it is the equivalent to writing using $var === null (which is a lot
faster). Even if you do pass the variable by reference, you could still get notices using
multidimensional arrays where isset() would silently return false.