Martin Alterisio wrote:
> 2007/12/4, Chuck Hagenbuch <[EMAIL PROTECTED]>:
>> Quoting Martin Alterisio <[EMAIL PROTECTED]>:
>>
>>> Knowing that I'll have to strongly encourage the developers to dump that
>>> patch. The namespace declaration shouldn't do more than what it's
>> expected
>>> to do. Why this:
>>>
>>> namespace yadayada;
>>> import yadayada;
>>>
>>> Should work different that:
>>>
>>> import yadayada;
>>> namespace yadayada;
>> Why is this an issue for you? That second example is currently a parse
>> error - the namespace declaration must be the first thing in the file,
>> so the order is significant now.
> 
> 
> It's an issue since it's something the patch will allow if implemented.

Martin,

Please stop spreading misinformation.  The patch will *not* allow that.
 It will allow:

<?php
namespace Blah;
import yadayada;
...
namespace Foo;
import yadayada;
?>

<?php
import yadayada;
namespace Blah;
?>

is still a parse error.

At least get your facts straight before posting.

Greg

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

Reply via email to