FAQ

On 5/13/2016 2:11 PM, Rasmus Schultz wrote:
Dear Internals,

I'm announcing a simplified RFC for annotations:

https://wiki.php.net/rfc/simple-annotations
-1 again, I am sorry.

The problem is that an annotation by definition is just meta-data. Your
proposal however might result in fatal errors from meta-data:

   $reflector = new ReflectionClass(User::class);
   $reflector->getAnnotations();

   // Fatal error: Uncaught Error: Class 'TableName' not found ...

This is an absolute No-Go for meta-data.

--
Richard "Fleshgrinder" Fussenegger

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 11 of 25 | next ›
Discussion Overview
groupphp-internals @
categoriesphp
postedMay 13, '16 at 12:11p
activeMay 17, '16 at 6:39p
posts25
users10
websitephp.net

People

Translate

site design / logo © 2018 Grokbase