#35840 [Opn->Csd]: pathinfo() return type wrong
| From: | vrana@php.net | Date: | Tue, 03 Jan 2006 17:19:33 +0000 |
| Subject: | #35840 [Opn->Csd]: pathinfo() return type wrong | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969371421@lists.php.net to get a copy of this message | ||
ID: 35840
Updated by: vrana@php.net
Reported By: php at toonarmy dot mine dot nu
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
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."
Previous Comments:
------------------------------------------------------------------------
[2005-12-29 16:44:39] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35840&edit=1