Re: 5.4 again
| From: | Matthew Weier O'Phinney | Date: | Tue, 10 May 2011 19:28:21 +0000 |
| Subject: | Re: 5.4 again | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52246@lists.php.net to get a copy of this message | ||
On 2011-05-10, Ferenc Kovacs <info@tyrael.hu> wrote:
> --bcaec51a7af89cba6304a2f01d01
> Content-Type: text/plain; charset=UTF-8
>
> On Tue, May 10, 2011 at 8:20 PM, Mike Robinson <mike@rile.ca> wrote:
>
> > May-10-11 11:57 AM Matthew Weier O'Phinney wrote:
> >
> > > A native docblock annotation parser would much better suit our
> > > purposes.
> >
> > +1, FWIW.
> >
> >
> extending the Reflection::getDocComment to support retrieving the docblock
> comment as an array of key => value pairs wouldn't be too hard to implement.
> I find it funny that you, Sebastian and others who are supporting docblocks
> over annotations didn't found the time to do it, but you always bring this
> up.
We have in ZF -- Zend_Reflection extends the Reflection API to provide
this sort of feature (though admittedly the annotation, or "tag" support
as we called it, could use a little more rigor in matching). I
personally am not comfortable enough in my C skills to attempt it in the
Zend Engine.
--
Matthew Weier O'Phinney
Project Lead | matthew@zend.com
Zend Framework | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc