Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49734 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66554 invoked from network); 16 Sep 2010 20:56:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2010 20:56:28 -0000 Authentication-Results: pb1.pair.com header.from=chadfulton@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=chadfulton@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chadfulton@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:50842] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/E0-15036-B74829C4 for ; Thu, 16 Sep 2010 16:56:28 -0400 Received: by gyd10 with SMTP id 10so644411gyd.29 for ; Thu, 16 Sep 2010 13:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=yTCfOrTRWC8jtN5ZcDtSXg6ombrVzr8LpbVEegi2neU=; b=m9zA8IeoHR6FQjlJK0yTpKOLyzaIZfWhx0fa/1N8LyxcJ2UNfbk5aFhtciYITLH3Je Oa6u3NZaoOThXkBdc+bprNRmvHvRfOgaLabxYWI9AzmS9u0fn38TLa0zXpllJPAoDwr4 UwHxnd4WcmMxxUQq21k3Iyc4uuekLuvjy2wyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=wFhA/chx4eWhCPM2jy0W29K/B/XA6jK30OWU6OP2LcFKytADOjJDuK9cmLtOHPYWQ7 iyjq1Hzo3CgttWplSDi3++auuPNFyEuZF3dbmHsUWDp0jY4OmWQnjVgoBWOCwC3fNprr hV32VhfsbbZs2KGGqAdQLVEBLzNJROrRbuRxw= Received: by 10.150.146.16 with SMTP id t16mr4269879ybd.440.1284670584518; Thu, 16 Sep 2010 13:56:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.0.234 with HTTP; Thu, 16 Sep 2010 13:56:04 -0700 (PDT) Date: Thu, 16 Sep 2010 13:56:04 -0700 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: docBlock Parser RFC From: chadfulton@gmail.com (Chad Fulton) Hello, Based on comments from the annotations thread, I have created a docBlock parser RFC at http://wiki.php.net/rfc/docblockparser This RFC does not deal with annotations per se, but only with the idea of adding a function to the Reflection extension which would parse docBlocks according to a set docBlock syntax into a simple associative array containing three elements: short description, long description, and an array of tags. This is only meant to aid meta-data retrieval for classes and does not automatically instantiate anything objects. The RFC was meant to conform to existing convention on the formatting of docBlocks - so one major way to improve it would be to note any inconsistencies with accepted practice. Feel free to improve in any other way as well, of course. Thanks, Chad