Re: New RFC : empty() function
| From: | Kamil Tekiela | Date: | Tue, 31 Oct 2023 12:38:54 +0000 |
| Subject: | Re: New RFC : empty() function | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121545@lists.php.net to get a copy of this message | ||
Hi Alessandro,
I would still advise to just let this empty() construct die a natural
death.
If you want to change anything, you must remember that it's basically a
syntactic sugar for
@!$var
For example if(empty($var)) is just if(@!$var)
To change this function would require changing the rules for type juggling.