Bug #52175 [Opn->Bgs]: is_link() returns false for symbolic links on windows
| From: | pajoye@php.net | Date: | Thu, 24 Jun 2010 17:14:24 +0000 |
| Subject: | Bug #52175 [Opn->Bgs]: is_link() returns false for symbolic links on windows | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151849@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52175&edit=1
ID: 52175
Updated by: pajoye@php.net
Reported by: o_shes01 at uni-muenster dot de
Summary: is_link() returns false for symbolic links on windows
-Status: Open
+Status: Bogus
Type: Bug
Package: Filesystem function related
Operating System: Windows Vista SP2
PHP Version: 5.3.2
New Comment:
Duplicate of #51766
Previous Comments:
------------------------------------------------------------------------
[2010-06-24 19:12:10] o_shes01 at uni-muenster dot de
Description:
------------
'is_link($fname)' returns 'false' on windows vista, even if the file
named by $fname exists and _is_ a symbolic link, regardless of if it
points to a file or a directory;
Bug #51766 MAY also be related to this problem;
Test script:
---------------
<?php
// precondition: directories c:\windows and c:\temp must exist
symlink('c:\windows', 'c:\temp\win'); // the link is created
successfully
var_dump(is_link('c:\temp\win'));
?>
Expected result:
----------------
bool(true)
Actual result:
--------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52175&edit=1