Re: Re: PHP 5.1 (Or How to break tousands of apps out there)

From: Date: Sat, 26 Nov 2005 06:34:59 +0000
Subject: Re: Re: PHP 5.1 (Or How to break tousands of apps out there)
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-20496@lists.php.net to get a copy of this message
Jessie Hernandez wrote: > 1) Do not allow constants in namespaces, just stick to functions and > classes. I am confused as to why we need namespaced constants. Now that we have class constants, this is a far better way to "namespace" constants. I was also under the impression that this was far more efficient than using define() because it can almost always be evaluted at compile-time. Greg

« previous php.internals (#20496) next »