Re: - True Annotations

From: Date: Wed, 09 Jan 2013 15:18:40 +0000
Subject: Re: - True Annotations
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-64747@lists.php.net to get a copy of this message
Every other language used :: or . for namespaces. The problem with @ is its definition as error suppression operator, and Guilherme and Pierrick didn't come up with a solution to stay BC using the @. Additionally some other languages use [] (which also doesnt work in PHP). On Wed, Jan 9, 2013 at 4:15 PM, Levi Morrison <morrison.levi@gmail.com>wrote: > > https://wiki.php.net/rfc/annotations > > Perhaps I am blind, but I do not see where in the RFC is defends its > choice to use <>. Every other language I know of uses > @, and I do > not know of technical reasons why we couldn't use the same symbol. > Annotations wouldn't be able to contain expressions so there wouldn't > be anything that could generate a suppressible error. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#64747) next »