Doc #67272 [Opn->Nab]: Pathinfo function does not state failure information
| From: | sobak@php.net | Date: | Mon, 19 May 2014 12:09:30 +0000 |
| Subject: | Doc #67272 [Opn->Nab]: Pathinfo function does not state failure information | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11229@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67272&edit=1
ID: 67272
Updated by: sobak@php.net
Reported by: jptdrake at gmail dot com
Summary: Pathinfo function does not state failure information
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I think that's not a bug. This function has nothing to do with filesystem. It just parses
string in order to extract path-specific elemens. Path doesn't have to be existing one, as it
is treated just like a string.
Maybe we should make it more clear on doc page...
Previous Comments:
------------------------------------------------------------------------
[2014-05-14 00:06:12] jptdrake at gmail dot com
Change "specifically if the file does not exist."
------------------------------------------------------------------------
[2014-05-14 00:05:27] jptdrake at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.pathinfo
---
The pathinfo function does not say what happens on failure, specifically if the file exists.
Test script:
---------------
N/A
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67272&edit=1