> 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.
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]