Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35405 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76837 invoked by uid 1010); 12 Feb 2008 11:02:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76822 invoked from network); 12 Feb 2008 11:02:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2008 11:02:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=jochem@iamjochem.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jochem@iamjochem.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain iamjochem.com from 194.109.193.121 cause and error) X-PHP-List-Original-Sender: jochem@iamjochem.com X-Host-Fingerprint: 194.109.193.121 mx1.moulin.nl Linux 2.6 Received: from [194.109.193.121] ([194.109.193.121:50886] helo=mx1.moulin.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/74-36990-EDC71B74 for ; Tue, 12 Feb 2008 06:02:56 -0500 Received: from localhost (localhost [127.0.0.1]) by mx1.moulin.nl (Postfix) with ESMTP id ADBD827E02C; Tue, 12 Feb 2008 12:02:51 +0100 (CET) X-Virus-Scanned: amavisd-new at moulin.nl Received: from mx1.moulin.nl ([127.0.0.1]) by localhost (mx1.moulin.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FrfsNSA5dJWy; Tue, 12 Feb 2008 12:02:46 +0100 (CET) Received: from [192.168.1.10] (bspr.xs4all.nl [194.109.161.228]) by mx1.moulin.nl (Postfix) with ESMTP id 0A44827DFCF; Tue, 12 Feb 2008 12:02:46 +0100 (CET) Message-ID: <47B17CD6.5080004@iamjochem.com> Date: Tue, 12 Feb 2008 12:02:46 +0100 User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Pierre Joye CC: "Edward Z. Yang" , internals@lists.php.net References: <20080210111514.54165ecxih2p5yg4@neo.wg.de> <47AFD90D.4010806@zend.com> <1202730660.3698.9.camel@localhost> <1202743539.3698.11.camel@localhost> <1202747101.3698.14.camel@localhost> <1202748940.3698.25.camel@localhost> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [patch] expose PHP version details as constants From: jochem@iamjochem.com (Jochem Maas) Pierre Joye schreef: > Hi Edward, > > On Feb 12, 2008 4:30 AM, Edward Z. Yang wrote: >> Hello all, I was documenting the __DIR__ patch, and I ran across some >> curious behavior when the PHP file was in the Windows filesystem root: >> >> C:\test.php >> > echo __DIR__; >> ?> >> >> Output: >> C:\ >> >> Is this intended? > > Yes, or what would you expect? possibly 'C:' ? > > Cheers,