Re: include bug in 5.3
| From: | Hannes Magnusson | Date: | Fri, 08 Aug 2008 07:11:30 +0000 |
| Subject: | Re: include bug in 5.3 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39756@lists.php.net to get a copy of this message | ||
On Thu, Aug 7, 2008 at 22:37, Arnaud Le Blanc <arnaud.lb@gmail.com> wrote:
> virtual_file_ex() assumes that realpath() returns NULL when the file does not
> exists. But BSD's realpath() will not return NULL if all
> components *but the last* exist. So realpath(/foo/bar) will return /foo/bar
> even if bar does not exists.
And that behavior is intended, but is sadly overwritten in ZTS :(
-Hannes