Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42309 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37839 invoked from network); 17 Dec 2008 21:32:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Dec 2008 21:32:42 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:41170] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/0A-19668-9FF69494 for ; Wed, 17 Dec 2008 16:32:42 -0500 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id 7ADAB1EBC022; Wed, 17 Dec 2008 21:32:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hk0dAq-M93-K; Wed, 17 Dec 2008 22:32:43 +0100 (CET) Received: from [192.168.0.108] (77-58-151-147.dclient.hispeed.ch [77.58.151.147]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id F20CE1EBC021; Wed, 17 Dec 2008 22:32:42 +0100 (CET) Cc: "Daniel Convissor" , "PHP Internals List" Message-ID: To: "Hannes Magnusson" In-Reply-To: <7f3ed2c30812171324i4c25e155xe5f86bad4ed8eabb@mail.gmail.com> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Date: Wed, 17 Dec 2008 22:30:14 +0100 References: <493ECBFD.6060407@chiaraquartet.net> <20081210183302.GA19304@panix.com> <29AA2691-6BA7-42E8-86A0-3451F9231375@pooteeweet.org> <7f3ed2c30812171324i4c25e155xe5f86bad4ed8eabb@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) Subject: Re: [PHP-DEV] problem with include_path and write-based file functions From: mls@pooteeweet.org (Lukas Kahwe Smith) On 17.12.2008, at 22:24, Hannes Magnusson wrote: > On Wed, Dec 17, 2008 at 21:02, Lukas Kahwe Smith =20 > wrote: >> >> which brings us back to the fact that we never added a proper way =20 >> to be able >> to determine if a file exists in the include path or not. this is =20 >> why a lot > > That is simply not true. stream_resolve_include_path() is available =20= > in HEAD. cool. talk about a convoluted function name. the documentation is probably not what we want though: "stream_resolve_include_path =97 Determine what file will be opened by =20= calls to fopen() with a relative path" it should rather talk about being able to determine what (if anything) =20= would be loaded on an include call. regards, Lukas Kahwe Smith mls@pooteeweet.org