Re: Simple Namespace Proposal
| From: | Stefan Walk | Date: | Fri, 06 Jul 2007 18:25:42 +0000 |
| Subject: | Re: Simple Namespace Proposal | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30555@lists.php.net to get a copy of this message | ||
On 04/07/07, Dmitry Stogov <dmitry@zend.com> wrote:
Nor variables naither constants. They are defined in run-time.This seems to me like a bit of drawback. Would it be possible to add compile-time constants, then (like const FOO = 1; outside a class)? Creating a class inside a namespace for constants doesn't seem clean to me. Regards, Stefan