Hi Gregory, It seems, your bug report and patches are right. I'll look into them more careful little bit later. Thank you very much.
Dmitry. > -----Original Message----- > From: Gregory Beaver [mailto:[EMAIL PROTECTED] > Sent: Friday, October 05, 2007 6:08 AM > To: Dmitry Stogov > Cc: 'Stanislav Malyshev'; 'php-dev'; 'Benjamin Schulz' > Subject: Re: [PHP-DEV] a way to fix the import issue > > > Dmitry Stogov wrote: > > In your example : > > > > <?php > > namespace Foo; > > import Blah::Exception; > > $a = new Exception; > > ?> > > > > "new Exception" refer to "Blah::Exception" and will fail if > such class > > doesn't exists. > > > > "import Blah::Exception" creates an alias with short name > "Exception" > > only for current file (it doesn't creates "Foo::Exception") > > > > May be I didn't understood the question. :) > > http://bugs.php.net/42859 has a further example > > with patches for PHP 6 and PHP 5 in the report. > > Greg > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php