Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25985 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95646 invoked by uid 1010); 7 Oct 2006 06:46:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95631 invoked from network); 7 Oct 2006 06:46:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Oct 2006 06:46:10 -0000 Authentication-Results: pb1.pair.com header.from=lsmith@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lsmith@php.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 212.112.227.169 cause and error) X-PHP-List-Original-Sender: lsmith@php.net X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from [212.112.227.169] ([212.112.227.169:59738] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/80-24048-C2D47254 for ; Sat, 07 Oct 2006 02:46:05 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 8D1E5DF002A; Sat, 7 Oct 2006 08:46:01 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24304-03; Sat, 7 Oct 2006 08:45:59 +0200 (CEST) Received: from [127.0.0.1] (171.59.3.213.cust.bluewin.ch [213.3.59.171]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 982BBDF0020; Sat, 7 Oct 2006 08:45:59 +0200 (CEST) Message-ID: <45274D24.7040206@php.net> Date: Sat, 07 Oct 2006 08:45:56 +0200 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Ralph Schindler Cc: internals References: <4526D167.1080309@smashlabs.com> In-Reply-To: <4526D167.1080309@smashlabs.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: is_readable and include path From: lsmith@php.net (Lukas Kahwe Smith) Ralph Schindler wrote: > In the spirit of fopen's optional [, bool use_include_path].. is this > something that can be added to is_readable? > > ie: > > bool is_readable ( string filename [, bool use_include_path] ) we can always dream .. so far the answer has been that this parameter should never have been added to fopen(), and that file_exists(), is_readable and friends should never get this feature. IIRC the reason was that they should not be reading the include path, however even proposing to be atleast able to pass in an order list of search pathes has been shot down. nevermind the common use case for such a feature. *sigh* regards, Lukas