|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #118 dirname() function does not support Win style path
Submitted: 1998-03-01 01:50 UTC Modified: 1998-03-03 07:14 UTC
From: steve at eyekon dot com Assigned: ssb (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 3.0b5 OS: Windows 95/NT
Private report: No CVE-ID: None
 [1998-03-01 01:50 UTC] steve at eyekon dot com
trying to run $PATH_TRANSLATED through dirname will not give directory name.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-03 07:14 UTC] ssb
Should be fixed now.  On Windows, dirname() and basename()
will understand both "/" and "\".  I don't have a Windows
box handy for testing, could someone cvs update and test
dirname() and basename() on Windows?

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 19:01:31 2024 UTC