Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57562 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29012 invoked from network); 30 Jan 2012 01:51:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2012 01:51:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=lists@rotorised.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lists@rotorised.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain rotorised.com from 203.88.115.241 cause and error) X-PHP-List-Original-Sender: lists@rotorised.com X-Host-Fingerprint: 203.88.115.241 ironport1-mx.cbr1.mail-filtering.com.au Received: from [203.88.115.241] ([203.88.115.241:35500] helo=ironport1-mx.cbr1.mail-filtering.com.au) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/93-15394-E87F52F4 for ; Sun, 29 Jan 2012 20:51:12 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EAL32JU+va78L/2dsb2JhbABEhQuqVIFyAQEFI1URCxgCAgUWCwICCQMCAQIBRRMIAQGvBJBqgS+HDgEEAwQJAQMMBAMECwEIAQUJBgMEFwMBgnEZBAIKAg0HAVs4AQEVggaBFgSacI0N X-IronPort-AV: E=Sophos;i="4.71,588,1320584400"; d="scan'208";a="576050554" Received: from ju001lcs02.dfw.the-server.net.au (HELO ju001lcs02.dfw.the-server.com.au) ([175.107.191.11]) by ironport1-mta.cbr1.mail-filtering.com.au with ESMTP; 30 Jan 2012 12:51:06 +1100 Received: from [124.191.162.147] (helo=[192.168.0.10]) by ju001lcs02.dfw.the-server.com.au with esmtpa (Exim 4.69) (envelope-from ) id 1RrgOe-002RM6-JF for internals@lists.php.net; Mon, 30 Jan 2012 12:51:05 +1100 Message-ID: <4F25F785.1010203@rotorised.com> Date: Mon, 30 Jan 2012 11:51:01 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: internals@lists.php.net References: <1327883576.6780.722.camel@guybrush> <4F25F6E5.3050404@rotorised.com> In-Reply-To: <4F25F6E5.3050404@rotorised.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] ReflectionFile missing From: lists@rotorised.com (Ryan McCue) Ryan McCue wrote: > For some purposes, you need to be able to reflect files and classes > without loading them, which I think is a huge gap in the Reflection API. > That said, a proper ReflectionFile would be welcome, even if it did load > the file. Forgot to mention: it is also, as far as I know, impossible to get file-level PHPDoc comments without writing a class similar to mine. (The alternative is regex parsing, of course, but that's worse) -- Ryan McCue