php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #860 dirname() is incorrectly described
Submitted: 1998-10-20 09:43 UTC Modified: 1998-11-13 06:54 UTC
From: and at itaca dot it Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.5 OS: Digital Unix 3.2D
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 + 31 = ?
Subscribe to this entry?

 
 [1998-10-20 09:43 UTC] and at itaca dot it
The manual says:

dirname -- return file name part of path

It returns instead the directory name part of the path (as stated in the function description section)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-11-13 06:54 UTC] rasmus
Fixed a while ago and will be part of next doc update
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 10:01:32 2024 UTC