Re: Question about Namespace patch

From: Date: Mon, 23 Jul 2007 22:51:19 +0000
Subject: Re: Question about Namespace patch
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-31227@lists.php.net to get a copy of this message
The issue was that importing an entire namespace would introduce the possibility of name conflicts. My point was simply that conflicts could still exist, so that argument is pointless.
No, it's not, because under my scheme you can easily resolve the conflict by using different aliases. When you import whole bunch of classes into global space, you don't know what names would be so you can't alias those of them which are colliding. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#31227) next »