Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35406 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78182 invoked by uid 1010); 12 Feb 2008 11:04:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78167 invoked from network); 12 Feb 2008 11:04:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2008 11:04:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.166.179 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 64.233.166.179 py-out-1112.google.com Received: from [64.233.166.179] ([64.233.166.179:23785] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/B4-36990-F4D71B74 for ; Tue, 12 Feb 2008 06:04:47 -0500 Received: by py-out-1112.google.com with SMTP id u77so5291951pyb.16 for ; Tue, 12 Feb 2008 03:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=M3iQrzE7DbM59rgxNRNwf3MREp/fvfhL/gyRgtDfLUA=; b=u/PlJlkQgrEmHlva5MxbpZDELS/dPLny9T2F25v2nCUthBSf+ieODate06DP7KddJ++pCKf7XbIDksSNxTRlnaLQEUU7wBcGTNb+kSzggNcuML/elkoAGhKSNfKozps32JgDicb2I2xdXd7nKjed2lwut9IdMWLQTNchY1Rve8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SWS7I8IK4/5+4Y1ktj68l+Gcj7uaifT/BR0sWmJJBkh7GMA9j+m3f38SD7Ybcs5YUGjJ0HMcYEN8TE2Lx00qT5y7OXr8veKeUpO/SlqFnB0sM8OneaMub9/t5XUQ8XlFeI3tQwaoeKastjZSvDSKCXf/2SAsTZeuy1PWgGsThjo= Received: by 10.141.141.3 with SMTP id t3mr453920rvn.72.1202814281676; Tue, 12 Feb 2008 03:04:41 -0800 (PST) Received: by 10.141.70.21 with HTTP; Tue, 12 Feb 2008 03:04:41 -0800 (PST) Message-ID: Date: Tue, 12 Feb 2008 12:04:41 +0100 To: "Jochem Maas" Cc: "Edward Z. Yang" , internals@lists.php.net In-Reply-To: <47B17CD6.5080004@iamjochem.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1202730660.3698.9.camel@localhost> <1202743539.3698.11.camel@localhost> <1202747101.3698.14.camel@localhost> <1202748940.3698.25.camel@localhost> <47B17CD6.5080004@iamjochem.com> Subject: Re: [PHP-DEV] [patch] expose PHP version details as constants From: pierre.php@gmail.com ("Pierre Joye") On Feb 12, 2008 12:02 PM, Jochem Maas wrote: > 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:' ? That would be a drive name not the directory name (equivalent to its path). Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org