note 88317 deleted from function.constant by danbrown
| From: | danbrown@php.net | Date: | Tue, 20 Jan 2009 18:31:41 +0000 |
| Subject: | note 88317 deleted from function.constant by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149548@lists.php.net to get a copy of this message | ||
Note Submitter: rdanner
----
@ cory
You could also simplify that as:
<?php
var_dump((boolean) constant('SOME_CONSTANT'));
?>
probably easier to read, and no function to define.