Re: Re: PHP 5.1 (Or How to break tousands of apps out there)

From: Date: Mon, 28 Nov 2005 20:00:02 +0000
Subject: Re: Re: PHP 5.1 (Or How to break tousands of apps out there)
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-20755@lists.php.net to get a copy of this message
MB>>namespace Foo MB>>{ class Behaviour { MB>> const XYZ = 42; } MB>> class Bar MB>> { MB>> const XXXX = Foo::XYZ; const XXXX = Behaviour::XYZ; MB>> //... MB>> } etc. What's wrong with that? Except for the fact that now you can move these classes to another namespace if you wanted to and need not to hardcode namespace name in each class? :) -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.internals (#20755) next »