note 8975 deleted from function.empty by sniper
| From: | sniper@php.net | Date: | Sat, 23 Aug 2003 00:22:45 +0000 |
| Subject: | note 8975 deleted from function.empty by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54919@lists.php.net to get a copy of this message | ||
Note Submitter: gearond@cvc.net
----
Based on the chart that jeagle... did above, <empty()> looks pretty useless to me, especially
in light of the fact that it tests TRUE if a value is actually assigned a value called FALSE. In
thinking further, it seems to be a combination of the usual ptr test for c "if(ptr)" and
isset, like ((val)&&(isset(val)). For me, in this untyped language, isset() seems to be more
useful.