Re: isset opposite
| From: | Dustin Krysak | Date: | Wed, 17 Nov 2004 01:40:48 +0000 |
| Subject: | Re: isset opposite | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202263@lists.php.net to get a copy of this message | ||
Yeah as soon as I saw this example, I figured that was the case.... for example something like
if (!empty())
and so on.
d
On 16-Nov-04, at 5:26 PM, Robby Russell wrote:
On Tue, 2004-11-16 at 17:19 -0800, Dustin Krysak wrote:Thanks! perfect! dFor future reference, just about any function that uses is at the beginning should return a boolean result. So if (is_array()) can also be checked with if (!is_array()) This should apply to all the php included functions that start with is. -Robby -- /*************************************** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | robby@planetargon.com * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development* --- Now supporting PHP5 ---****************************************/