Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64709 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12524 invoked from network); 8 Jan 2013 23:48:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2013 23:48:41 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.143 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.143 smtp143.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.143] ([67.192.241.143:34361] helo=smtp143.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/B8-16636-850BCE05 for ; Tue, 08 Jan 2013 18:48:41 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp14.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 305B22982F7; Tue, 8 Jan 2013 18:48:38 -0500 (EST) X-Virus-Scanned: OK Received: by smtp14.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id E9E92298A82; Tue, 8 Jan 2013 18:48:37 -0500 (EST) Message-ID: <50ECB055.6000009@sugarcrm.com> Date: Tue, 08 Jan 2013 15:48:37 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Nikita Popov CC: PHP internals References: <50EBE431.8090607@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Reflection annotations reader From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > This functionality parses doccomments and doccomments can be obtained > through various ways. Reflection is only one. Docblocks can just as well > come from parsing the files. If this would be tightly bound to the You can also get functions, classes, etc. from parsing the files. But from inside PHP you usually do not, you use Reflection. > reflection mechanisms then it would become useless for many > applications, e.g. phpDocumentor et al couldn't use this (if I'm not > much mistaken). phpDocumentor is using custom PHP parser anyway, so whatever we do in core is not very relevant for it, at least in its current state. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227