Greg Beaver wrote:
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
We don't! Putting constants in classes is fine for me. I have no problem
with removing constants support from my patch. I only added them because
I saw them in the Meeting Notes page that was prepared by, well what do
you know?, DERICK. I guess that requirement can be, uhm, "#ifdef'ed
out", LOL!
Just joking, Derick :-)!
Regards,
Jessie
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php