RE: [PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV]
Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity
| From: | Harald Radi | Date: | Mon, 01 Oct 2001 16:19:01 +0000 |
| Subject: | RE: [PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity |
||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66940@lists.php.net to get a copy of this message | ||
> > i don't either, but how else will you bind constants to a class /
> > namespace ?
>
> echo Foo::CONSTANT;
yes, but how do you define them ?
if it's like this:
namespace Foo;
define("CONSTANT", 123);
it won't be a problem either because then a class can't contain such a
definition (yet) and there won't be any ambiguities too.
harald.