|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-14 06:55 UTC] liber at iproom dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 22:00:01 2025 UTC |
Description: ------------ realpath() changed its return value, that returns full path without directory separator even the argument has. EX: Argument: './' In 5.2.6: 'c:\abc' In 5.2.5: 'c:\abc\' Argument: '.' In 5.2.6: 'c:\abc' In 5.2.5: 'c:\abc' I had tested on both Windows Vista and Windows 2003 Server. Reproduce code: --------------- php -r "echo realpath('./');" Expected result: ---------------- 'c:\abc\' Actual result: -------------- 'c:\abc'