Re: include bug in 5.3
| From: | Pierre Joye | Date: | Sat, 09 Aug 2008 11:16:12 +0000 |
| Subject: | Re: include bug in 5.3 | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39794@lists.php.net to get a copy of this message | ||
hi all!
On Sat, Aug 9, 2008 at 12:41 PM, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> On Sat, Aug 9, 2008 at 12:31, Dmitry Stogov <dmitry@zend.com> wrote:
>> Where is it documented?
>
> http://php.net/realpath
> http://www.ipnom.com/FreeBSD-Man-Pages/realpath.3.html
"On BSD systems realpath() doesn't fail if only the last path
component doesn't exist, while other systems will return FALSE."
This behavior has genearated enough pain in the past to be dropped.
The key problem in php application is portability. I'm in favor of
dropping this BSD specific thing in 5.3+.
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org