note 102987 modified in splfileinfo.getpathname by levim
| From: | levim@php.net | Date: | Tue, 10 Dec 2013 23:44:42 +0000 |
| Subject: | note 102987 modified in splfileinfo.getpathname by levim | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-197900@lists.php.net to get a copy of this message | ||
In Windows, getPathname might return a path with a mix of backslashes and forward slashes
('C:/some/path/to\a\file.txt'). Observed in PHP 5.2.9. By contrast, getRealPath will
return a consistent result (all backslashes).
--was--
In Windows, getPathname will return a path with a mix of backslashes and forward slashes
('C:/some/path/to\a\file.txt'). Observed in PHP 5.2.9. By contrast, getRealPath will
return a consistent result (all backslashes).
http://php.net/manual/en/splfileinfo.getpathname.php