note 84550 deleted from function.define by danbrown
| From: | danbrown@php.net | Date: | Sat, 19 Jul 2008 15:07:14 +0000 |
| Subject: | note 84550 deleted from function.define by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141697@lists.php.net to get a copy of this message | ||
Note Submitter: bakkelun at gmail dot com
----
To ceo @ l-i-e dot com:
quote:
You can then do:
class foo {
$private now = APPLICATION_NOW;
}
You can drop the global constant all together and just use:
class foo {
$private now = time();
}
sincerely,
www.dosspirit.net