Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57574 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19707 invoked from network); 30 Jan 2012 15:21:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2012 15:21:43 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:56609] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/17-53934-685B62F4 for ; Mon, 30 Jan 2012 10:21:43 -0500 Received: from [192.168.2.230] (ppp-188-174-45-17.dynamic.mnet-online.de [188.174.45.17]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id F313860647; Mon, 30 Jan 2012 16:21:39 +0100 (CET) To: Rasmus Schultz Cc: internals@lists.php.net In-Reply-To: References: <1327883576.6780.722.camel@guybrush> Content-Type: text/plain; charset="UTF-8" Date: Mon, 30 Jan 2012 16:21:38 +0100 Message-ID: <1327936898.1876.432.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] ReflectionFile missing From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Mon, 2012-01-30 at 09:33 -0500, Rasmus Schultz wrote: > From my point of view, the concept of a "file" has become semantically more > important, and increasingly relevant to Reflection, with the latest PHP > features added in the past couple of years. > > I can see what you mean though - it's probably not a small effort, and > there are probably more important aspects of PHP that need attention... When at runtime do you need this? - I can see the need for doing it "statically" when building some form of autoloading map or such. For static analysis I (in my personal, probably narrow) opinion see little benefit in doing it from within PHP (see other part of the thread) johannes