Doc #64927 [Ver->Csd]: realpath() still returns current path on Null/false argument
Edit report at https://bugs.php.net/bug.php?id=64927&edit=1
ID: 64927
Updated by: sobak@php.net
Reported by: myustc at 163 dot com
Summary: realpath() still returns current path on Null/false
argument
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Filesystem function related
Operating System: Mac OS X 10.6.8
PHP Version: 5.3.25
-Assigned To:
+Assigned To: sobak
Block user comment: N
Private report: N
New Comment:
Thanks, Christoph! Closed.
Previous Comments:
------------------------------------------------------------------------
[2015-04-27 04:58:20] sobak@php.net
Automatic comment from SVN on behalf of sobak
Revision: http://svn.php.net/viewvc/?view=revision&revision=336672
Log: Apply patch by Christoph Michael Becker (closes bug #64927)
------------------------------------------------------------------------
[2015-04-23 21:13:57] cmb@php.net
The following patch has been added/updated:
Patch Name: changelog
Revision: 1429823637
URL: https://bugs.php.net/patch-display.php?bug=64927&patch=changelog&revision=1429823637
------------------------------------------------------------------------
[2015-04-23 21:13:45] cmb@php.net
The PHP 5.0.0 changelog entry has been removed in the meantime. However, the behavioral change in
PHP 5.2.1 pointed out by Sjon is not yet documented.
------------------------------------------------------------------------
[2013-05-29 18:47:20] Sjon at hortensius dot net
It seems that Changelog notice is incorrect; see http://3v4l.org/MJUQe The only
difference is that since 5.2 the cwd is returned
------------------------------------------------------------------------
[2013-05-28 07:12:05] myustc at 163 dot com
Sorry, I meant the Changelog part:
-------------------
5.0.0 Prior to this release, a blank or NULL path would cause realpath() to return the directory
name of the script.
-------------------
which sounds to me as if such behavior was removed since 5.0.0. Correct me if I'm wrong...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=64927
--
Edit this bug report at https://bugs.php.net/bug.php?id=64927&edit=1
Thread (7 messages)