Re: RFC: Dropping Namespace

From: Date: Wed, 05 Dec 2007 08:55:40 +0000
Subject: Re: RFC: Dropping Namespace
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-33723@lists.php.net to get a copy of this message
On Tue, 4 Dec 2007, Larry Garfield wrote: > 1) "use MyDate as DateTime". I believe Greg pointed out the solution here. > When PHP 5.5 is released and adds its own Whatever class, you just do the > following: > > namespace me; > use Whatever as LegacyWhatever; > class Whatever{} > > It's a one-line change to keep your code working. I think that's acceptable, It's not acceptable, as you're breaking BC. > For whatever the opinion of someone who writes PHP all day and not C > is worth, there it is. What makes you think I am different? regards, Derick -- Derick Rethans http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org

« previous php.internals (#33723) next »