Re: [RFC] PHP Attributes

From: Date: Mon, 25 Apr 2016 17:11:34 +0000
Subject: Re: [RFC] PHP Attributes
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-92741@lists.php.net to get a copy of this message
guilhermeblanco@gmail.com wrote on 25/04/2016 15:22:
Another thing that looks odd to me i that every time you call new ReflectionClass, a new reflection_object gets created. Isn't there a way to get this "cached" somehow in zend_class_entry?
I recently came upon a package that exists solely to work around this: https://packagist.org/packages/fsi/reflection I am reminded of the fact that people often say "reflection is slow, use it with care". Is this still the case? Does this limit the usability of attributes as proposed? Regards, -- Rowan Collins [IMSoP]

« previous php.internals (#92741) next »