Bug #55187 [Opn]: readlink returns weird characters when false result

From: Date: Tue, 12 Jul 2011 14:03:43 +0000
Subject: Bug #55187 [Opn]: readlink returns weird characters when false result
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-161823@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55187&edit=1 ID: 55187 User updated by: jinmoku at hotmail dot com Reported by: jinmoku at hotmail dot com Summary: readlink returns weird characters when false result Status: Open Type: Bug Package: Filesystem function related -Operating System: +Operating System: Win 7 PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: Added OS Previous Comments: ------------------------------------------------------------------------ [2011-07-12 10:00:48] 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" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55187&edit=1

« previous php.bugs (#161823) next »