note 119157 deleted from function.define by cmb
| From: | cmb@php.net | Date: | Sun, 06 Oct 2019 07:49:29 +0000 |
| Subject: | note 119157 deleted from function.define by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212470@lists.php.net to get a copy of this message | ||
Note Submitter: ivan at aleksandrow dot net
----
In case someone else is curious like me, defining a variable to "false", actually
undefining it:
define ("A", false);
if (defined("A"))
echo A;
will echo nothing. Useful, when you need to define, for example, log and keep definition without
actually having it defined.