Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52246 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50709 invoked from network); 10 May 2011 19:28:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 May 2011 19:28:22 -0000 X-Host-Fingerprint: 208.107.178.23 host-23-178-107-208.midco.net Date: Tue, 10 May 2011 15:28:21 -0400 Received: from [208.107.178.23] ([208.107.178.23:3156] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/CE-04851-5D199CD4 for ; Tue, 10 May 2011 15:28:21 -0400 Message-ID: To: internals@lists.php.net References: <4DC729EE.9090600@sugarcrm.com> <4DC75FFF.40008@lerdorf.com> <4DC7A7F0.4000504@sugarcrm.com> <4DC819D0.5010008@lerdorf.com> <3680807C-229A-4889-9181-8953303425EC@stefan-marr.de> <4DC9081C.3020808@php.net> <17.15.04851.C5069CD4@pb1.pair.com> <000001cc0f3e$f61c2390$e2546ab0$@ca> User-Agent: slrn/pre1.0.0-18 (Linux) X-Posted-By: 208.107.178.23 Subject: Re: [PHP-DEV] 5.4 again From: weierophinney@php.net (Matthew Weier O'Phinney) On 2011-05-10, Ferenc Kovacs wrote: > --bcaec51a7af89cba6304a2f01d01 > Content-Type: text/plain; charset=UTF-8 > > On Tue, May 10, 2011 at 8:20 PM, Mike Robinson 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