php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14624 is_link() fail with error if the link is not found
Submitted: 2001-12-20 10:59 UTC Modified: 2002-05-15 21:13 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: g dot tanzilli at gruppocsf dot com Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.1.0 OS: Redhat Linux 7.2
Private report: No CVE-ID: None
 [2001-12-20 10:59 UTC] g dot tanzilli at gruppocsf dot com
Hi,
tested on the cvs-4.1 from 20 december 2001, not 4.1 release.


it should just return false, seems to be like the previous is_dir() bug in 4.1 release.
bye

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-27 03:58 UTC] g dot tanzilli at gruppocsf dot com
Still present in 4.1.2 and 4.2rc1!!!
please correct it.

It is annoyng to see the warning, 
is_link issue the warning if the file is not found.
 [2002-05-15 21:13 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

Fixed for real now..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 21:01:32 2024 UTC