Re: [patch] expose PHP version details as constants
| From: | Johannes Schlüter | Date: | Tue, 12 Feb 2008 11:56:49 +0000 |
| Subject: | Re: [patch] expose PHP version details as constants | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35410@lists.php.net to get a copy of this message | ||
Hi,
On Mon, 2008-02-11 at 22:30 -0500, "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
> <?php
> echo __DIR__;
> ?>
>
> Output:
> C:\
>
> Is this intended?
What else would you expect? For me it looks right.
johannes