Stanislav Malyshev wrote:
> Hi!
>
>> http://wiki.php.net/rfc/namespaceissues
>
> My opinion for the proposals:
> A. I'm ok with use namespace, but it is inferior to the -> proposal.
> While it allows explicit disambiguation, it does not allow to call
> both in the same file. I'm not sure it's too much of a problem but 

Hi,

It does not allow calling both with the same import name, but it does allow:

<?php
namespace blah;
include 'thing1.php';
include 'thing2.php';
use class ::foo;
use namespace ::foo as another;

foo::blah(); // static method
another::blah(); // namespace function
?>

Greg

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to