note 82739 added to function.realpath
| From: | gtrevgatgmaildotcom at osu1 dot php dot net | Date: | Wed, 23 Apr 2008 22:19:26 +0000 |
| Subject: | note 82739 added to function.realpath | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138719@lists.php.net to get a copy of this message | ||
Somewhere between php v5.1.6 and 5.2.5, the implementation of realpath changed so that an empty
value now returns the current working directory:
(v5.1.6) realpath('') == ''
(v5.2.5) realpath('') ==
pwd
----
Server IP: 208.69.120.35
Probable Submitter: 66.151.128.22
----
Manual Page -- http://www.php.net/manual/en/function.realpath.php
Edit -- https://master.php.net/note/edit/82739
Del: integrated -- https://master.php.net/note/delete/82739/integrated
Del: useless -- https://master.php.net/note/delete/82739/useless
Del: bad code -- https://master.php.net/note/delete/82739/bad+code
Del: spam -- https://master.php.net/note/delete/82739/spam
Del: non-english -- https://master.php.net/note/delete/82739/non-english
Del: in docs -- https://master.php.net/note/delete/82739/in+docs
Del: other reasons-- https://master.php.net/note/delete/82739
Reject -- https://master.php.net/note/reject/82739
Search -- https://master.php.net/manage/user-notes.php