Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49890 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53822 invoked from network); 8 Oct 2010 10:07:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Oct 2010 10:07:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; 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 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:51140] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/D3-31204-95DEEAC4 for ; Fri, 08 Oct 2010 06:07:22 -0400 Received: from [192.168.1.31] (ppp-93-104-124-133.dynamic.mnet-online.de [93.104.124.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 3DB2E44AB3; Fri, 8 Oct 2010 12:07:18 +0200 (CEST) To: jvlad Cc: internals@lists.php.net In-Reply-To: <2C.13.31204.0D8EEAC4@pb1.pair.com> References: <73.09.01054.7EC0EAC4@pb1.pair.com> <2C.13.31204.0D8EEAC4@pb1.pair.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 08 Oct 2010 12:07:12 +0200 Message-ID: <1286532432.2459.54.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] stat functions do each path component? From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Fri, 2010-10-08 at 13:47 +0400, jvlad wrote: > Rasmus meant (include|requrie)_once, where the same files should be caught > indeed. > As of file_exists(), why would it need realpath's logic at all? In case open_basedir is enabled we have to do some more verifications, as we have to resolve the true base. johannes