note 118950 added to function.getcwd
| From: | Craig | Date: | Sat, 05 Mar 2016 23:44:43 +0000 |
| Subject: | note 118950 added to function.getcwd | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-205100@lists.php.net to get a copy of this message | ||
Be aware when calling getcwd() in directories consisting of symlinks.
getcwd() is the equivalent of shell command "pwd -P" which resolves symlinks.
The shell command "pwd" is the equivalent of "pwd -L" which uses PWD from the
environment without resolving symlinks. This is also the equivalent of calling
getenv('PWD').
----
Server IP: 72.52.91.14
Probable Submitter: 2001:980:38e1:1:10d7:31b9:caed:d3ba
----
Manual Page -- http://php.net/manual/en/function.getcwd.php
Edit -- https://master.php.net/note/edit/118950
Del: integrated -- https://master.php.net/note/delete/118950/integrated
Del: useless -- https://master.php.net/note/delete/118950/useless
Del: bad code -- https://master.php.net/note/delete/118950/bad+code
Del: spam -- https://master.php.net/note/delete/118950/spam
Del: non-english -- https://master.php.net/note/delete/118950/non-english
Del: in docs -- https://master.php.net/note/delete/118950/in+docs
Del: other reasons-- https://master.php.net/note/delete/118950
Reject -- https://master.php.net/note/reject/118950
Search -- https://master.php.net/manage/user-notes.php