note 14412 deleted from language.types.boolean by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 01:51:09 +0000 |
| Subject: | note 14412 deleted from language.types.boolean by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19685@lists.php.net to get a copy of this message | ||
If you do : if ($iamnotset) or this : if ($iamnotset == true) and it's not set (false) then an
error will result (E_NOTICE). To avoid this, try isset(), empty(), or something similar. Of course
E_NOTICE can be disabled (and usually is) via the error_reporting setting.