Marcus Boerger wrote:
> language out there that is in use and has anything like that. And even more
> scary to me, you did not solve anything by this because people still could
> write code prior to the namespace keyword. So no matter what we are screwed

?

[EMAIL PROTECTED]:~/workspace/php5$ cat test.php
<?php
$a = 'before namespace';
namespace oops;
[EMAIL PROTECTED]:~/workspace/php5$ sapi/cli/php -n test.php

Fatal error: Namespace declaration statement has to be the very first
statement in the script in /home/cellog/workspace/php5/test.php on line 3

Greg

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

Reply via email to