> One problem with using *just* array syntax, without any new keyword or 
> symbols,
> is that it is extremely close to being existing valid syntax. This may well 
> cause problems in the parser,
> and would certainly be confusing to users.

Not sure how sacred is `$`, but it could be a good candidate for the
annotation identifier since it denotes "something that carries a
value":

    $['package.annotation' => ['name' => 'foo']];
    class Foo {
    }

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

Reply via email to