Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46165 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54240 invoked from network); 23 Nov 2009 04:38:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Nov 2009 04:38:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 209.85.217.218 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 209.85.217.218 mail-gx0-f218.google.com Received: from [209.85.217.218] ([209.85.217.218:57128] helo=mail-gx0-f218.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/E0-46137-7C11A0B4 for ; Sun, 22 Nov 2009 23:38:32 -0500 Received: by gxk10 with SMTP id 10so2442085gxk.3 for ; Sun, 22 Nov 2009 20:38:29 -0800 (PST) Received: by 10.91.178.19 with SMTP id f19mr6053038agp.33.1258951109614; Sun, 22 Nov 2009 20:38:29 -0800 (PST) Received: from monster.local ([76.84.35.200]) by mx.google.com with ESMTPS id 21sm1750851yxe.19.2009.11.22.20.38.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Nov 2009 20:38:28 -0800 (PST) Message-ID: <4B0A11C2.4010707@chiaraquartet.net> Date: Sun, 22 Nov 2009 22:38:26 -0600 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: Mikko Koppanen , Stanislav Malyshev , internals@lists.php.net, Christian Schneider References: <413588E2-8AC8-49F7-B7BF-97BEFB0A71E4@pooteeweet.org> <4AF9A03E.8000207@cschneid.com> <4AF9AE1A.9000005@zend.com> <4AF9C589.3090604@chiaraquartet.net> <4AF9CCEA.1030500@zend.com> <4AFA0449.2030600@chiaraquartet.net> <4AFA0756.4020609@zend.com> <4AFA0A38.7000502@chiaraquartet.net> <8B520687-04D6-4CB3-BB7A-51A62D74489B@pooteeweet.org> <8cf711460911110244m22e2fedag21e294d8d3909037@mail.gmail.com> <65D94139-8A66-4C89-8418-160F5B2A4280@pooteeweet.org> <4AFAC12B.7000909@chiaraquartet.net> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: alternative to the fopen() hack in autoloaders From: greg@chiaraquartet.net (Greg Beaver) Lukas Kahwe Smith wrote: > So there are three approaches listed in the RFC: > 1) http://wiki.php.net/rfc/autoload_include#proposal > add a new alternative to include, which works the same except that for missing files it returns null and on success it returns the file location (unless the file already returns something else explicitly) > -1 > 2) http://wiki.php.net/rfc/autoload_include#add_stream_support_to_includerequire > add stream support to include/require > -1 (although it is worth noting that I think you may have missed my reply to Stas explaining how the problems he raised can be easily solved because of the way streams are implemented). > 3) http://wiki.php.net/rfc/autoload_include#add_function_to_resolve_the_include_path > fix up stream_resolve_include_path() to support streams. +1 stream_resolve_include_path() - the name clearly shows it supports all streams. Greg