4 ms·
Although isset() still returns false for null ;)
by jesseschalken 7y ago
Although isset() still returns false for null ;)
- wwweston 7y agoWhich is a little weird, but cases where you'd want `isset` to treat variables intentionally set to null the same as variables that are entirely undeclared are considerably more frequent (just ran into one yesterday!) than cases where you'd need to carefully distinguish them.
- jesseschalken 7y agoIt's also great at hiding bugs where you mistyped the variable name passed to isset(). ;)