php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #615 Every time I use "is_link()" it either returns 0 or returns nothg...
Submitted: 1998-08-04 22:30 UTC Modified: 1998-09-06 03:03 UTC
From: jeremy at comevisit dot com Assigned: jaakko (profile)
Status: Closed Package: Misbehaving function
PHP Version: 3.0.1 OS: Linux 2.0.34
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jeremy at comevisit dot com
New email:
PHP Version: OS:

 

 [1998-08-04 22:30 UTC] jeremy at comevisit dot com
I created a symbolic link and then tried to use "is_link()" to verify that PHP recognized it. The function did not print anything to the screen -- not even a "0" to indicate a failure. I tried all kinds of things and then I realized that PHP may not be seeing the link at all... but rather the place where the link pointed to. So, I used "filetype()" on the link and it reported that the link was a directory! The link just happens to point to a directory... I don't think that's a coincidence.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-06 03:03 UTC] jaakko
Yes, it has bugs and needs a small cleanup.  I'll take a look
and while at it I'll also implement lstat().

Now it should work in CVS version and in to be released 3.0.4..
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 20:01:29 2024 UTC