Edit report at http://bugs.php.net/bug.php?id=52175&edit=1
ID: 52175 Updated by: paj...@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