Re: Class Constant PHP 5
| From: | comex | Date: | Wed, 07 Dec 2005 18:36:46 +0000 |
| Subject: | Re: Class Constant PHP 5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227077@lists.php.net to get a copy of this message | ||
> It would be foolish (and would fail anyhow) to do something like this;
Nope. :P
<?php
define("RANDOM", rand(5,12));
var_dump(RANDOM);
?>
int(12)