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 15:56:12 +0000 |
| Subject: | 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-66932@lists.php.net to get a copy of this message | ||
> We don't have static members.
but we will in ze2 !?
> And we need namespaces for
> constants, also.
why ?
class Foo {
final $BAR = "blah";
}
namespace Foo;
class Bar {
static function bar() {
echo $Foo::BAR;
}
}
if (Foo::Bar::bar() === $Foo::BAR) {
echo "juhuuu";
} else {
echo "damn";
}
you have classes, you have constants, you have functions, ... what more
do you want ?
harald.