Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64725 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84273 invoked from network); 9 Jan 2013 11:57:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2013 11:57:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:47992] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/E2-02684-33B5DE05 for ; Wed, 09 Jan 2013 06:57:39 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 47AF910D624; Wed, 9 Jan 2013 11:57:36 +0000 (GMT) Date: Wed, 9 Jan 2013 11:57:36 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Yahav Gindi Bar cc: Marco Pivetta , Lars Strojny , PHP internals In-Reply-To: Message-ID: References: <45FD2112-5469-48A2-8941-92415EC711E1@strojny.net> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] [RFC] Reflection annotations reader From: derick@php.net (Derick Rethans) On Mon, 7 Jan 2013, Yahav Gindi Bar wrote: > I don't think that we should dictate the syntax for each application. > Each application will get the doc-comment annotation and will be able > to apply on it its own syntax and fancy stuff... And this is the exact reason why I think it makes no sense to make a docblock/annotation reader part of PHP's code (or Reflection). It's fairly trivial to write a specific extension for each framework's syntax in case their user land implementation isn't fast enough. cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine