Hi, Annotations as proposed in the RFC can not (or hardly) be develop as an extension (and so can not go into PECL). The proposed feature require modifications directly into the Zend Engine like for the inclusion of a new syntax which imply modification of the parser.
Regards, Pierrick On 9 May 2011 23:42, Mike Willbanks <pen...@gmail.com> wrote: > Guilherme, > > As per many of the conversations on annotations one of that hardest parts > of > it is that there are generally 3 conversations going on about it when this > starts to be discussed. It seems many threads are hi-jacked and I can > understand why. > > I would like to state that annotations in the core may be a good idea; > however, we have PECL and PECL seems like the perfect place for this. > Quite > a few extensions have started off in PECL and made their way to the core > and > several have been moved from the core to PECL. To me annotations support > seems like it would be perfect in PECL. Dedicated machines and virtual > machines for end users are higher than ever and they seem to continue to > grow. This should easily allow folks to put in the PECL module as needed. > > I would argue that the introduction of this into the core is adding more > feature bloat into the language that is not quite needed at this point. > There are obviously several improvements that this would allow to be > improved and consistent: WSDL / JSON-RPC / XML-RPC / Doctrine / etc. > > However, I feel extensions like Mongo / Memcached / Gearman have more to > add > to the PHP core than adding annotations and they live in PECL. Just > speaking from the practical point of view. It is great that certain > projects that have utilized annotations and created a layer in user land to > make annotations a nice thing to utilize. But to continue to argue this > point; it just does not seem logical other than the fact that a few > projects > want to promote annotations should cause it to drop into the core. > > I for one would like to see this go to PECL and see the up-take then > identify if it is needed for the next PHP release after 5.4. It seems a > bit > early and like it would be crammed into the PHP core without enough > discussion. There are obviously many thoughts on this and it will take > time > to sort out and implementation details then would be further down the trail > after some consensus is happening within this feature. > > Regards, > > Mike >