|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-04-06 17:58 UTC] aharvey@php.net
-Status: Open
+Status: Not a bug
[2018-04-06 17:58 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 16:00:02 2025 UTC |
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