php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #35840 pathinfo() return type wrong
Submitted: 2005-12-29 16:44 UTC Modified: 2006-01-03 18:19 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: php at toonarmy dot mine dot nu Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at toonarmy dot mine dot nu
New email:
PHP Version: OS:

 

 [2005-12-29 16:44 UTC] php at toonarmy dot mine dot nu
Description:
------------
http://php.net/pathinfo

When using pathinfo() with one of the constants (PATHINFO_DIRNAME, PATHINFO_BASENAME and PATHINFO_EXTENSION) a string is returned rather than an array, the manual does not mention this.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-03 18:19 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

"This function returns string if not all elements are requested."
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Sep 14 16:00:01 2025 UTC