note 102987 added to splfileinfo.getpathname

From: Date: Fri, 18 Mar 2011 14:00:18 +0000
Subject: note 102987 added to splfileinfo.getpathname
Groups: php.notes 
Request: Send a blank email to php-notes+get-177978@lists.php.net to get a copy of this message
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). ---- Server IP: 212.124.37.9 Probable Submitter: 79.222.51.32 ---- Manual Page -- http://www.php.net/manual/en/splfileinfo.getpathname.php Edit -- https://master.php.net/note/edit/102987 Del: integrated -- https://master.php.net/note/delete/102987/integrated Del: useless -- https://master.php.net/note/delete/102987/useless Del: bad code -- https://master.php.net/note/delete/102987/bad+code Del: spam -- https://master.php.net/note/delete/102987/spam Del: non-english -- https://master.php.net/note/delete/102987/non-english Del: in docs -- https://master.php.net/note/delete/102987/in+docs Del: other reasons-- https://master.php.net/note/delete/102987 Reject -- https://master.php.net/note/reject/102987 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#177978) next »