Re: [patch] expose PHP version details as constants
| From: | Pierre Joye | Date: | Tue, 12 Feb 2008 10:52:03 +0000 |
| Subject: | Re: [patch] expose PHP version details as constants | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35402@lists.php.net to get a copy of this message | ||
Hi Edward,
On Feb 12, 2008 4:30 AM, Edward Z. Yang <edwardzyang@thewritingpot.com> 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?
Yes, or what would you expect?
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org