[PHP-DEV] Bug #615: Every time I use "is_link()" it either returns 0 or returns nothg... From: jeremy <email protected>
Date: 08/04/98

From: jeremy <email protected>
Operating system: Linux 2.0.34
PHP version: 3.0.1
PHP Bug Type: Misbehaving function
Bug description:
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.