Re: Re: namespaces: import name conflicts with defined class

From: Date: Tue, 02 Oct 2007 20:04:39 +0000
Subject: Re: Re: namespaces: import name conflicts with defined class
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-32568@lists.php.net to get a copy of this message
<?php import ::Exception as Notused; import Foo::Exception; ?>
I wouldn't actually recommend using such code. If you have Foo::Exception just use Foo::Exception - it's short enough :) -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#32568) next »