Re: Constants in namesapces

From: Date: Wed, 22 Aug 2007 18:48:30 +0000
Subject: Re: Constants in namesapces
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-31859@lists.php.net to get a copy of this message
The latter would be hard to do since class definition is a runtime
Read "compile-time" here :)
thing. Unless we make all classes be defined in runtime (and accept slowdown following from it) we don't have any point in time where class constants could be defined. Also, we don't have a good way to keep the expression and scope necessary for evaluating it.
-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#31859) next »