Bug #76192 [Opn->Nab]: lstat cannot parse an url right
| From: | aharvey@php.net | Date: | Fri, 06 Apr 2018 17:58:27 +0000 |
| Subject: | Bug #76192 [Opn->Nab]: lstat cannot parse an url right | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-214634@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76192&edit=1
ID: 76192
Updated by: aharvey@php.net
Reported by: pupiles86 at gmail dot com
Summary: lstat cannot parse an url right
-Status: Open
+Status: Not a bug
Type: Bug
Package: *Web Server problem
Operating System: Linux
PHP Version: 7.0.29
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2018-04-06 13:14:55] pupiles86 at gmail dot com
Description:
------------
lstat function cannot parse a file when an inexistence directory in path
Test script:
---------------
<?php
print_r(lstat('/var/www/html/x/../index.php'));
?>
Expected result:
----------------
Array ( [0] => 51713 [1] => 57933 [2] => 33188 [3] => 1 [4] => 0 [5] => 0 [6]
=> 0 [7] => 43 [8] => 1523008076 [9] => 1523008073 [10] => 1523008073 [11] => 4096
[12] => 8 [dev] => 51713 [ino] => 57933 [mode] => 33188 [nlink] => 1 [uid] => 0
[gid] => 0 [rdev] => 0 [size] => 43 [atime] => 1523008076 [mtime] => 1523008073
[ctime] => 1523008073 [blksize] => 4096 [blocks] => 8 )
Actual result:
--------------
None
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76192&edit=1