|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-07-12 10:00 UTC] jinmoku at hotmail dot com
Description:
------------
readlink returns weird characters when false result
Test script:
---------------
var_dump(readlink(''));
Expected result:
----------------
Warning: readlink(): readlink failed to read the symbolic link (), error 3)
string(4) "false"
Actual result:
--------------
Warning: readlink(): readlink failed to read the symbolic link (), error 3)
string(4) "<Ks"
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 06:00:01 2025 UTC |
more fun with : var_dump(is_link('')); var_dump(readlink(''));