Bug #16393 Updated: @ does not mask E-WARNING produced by unlink

From: Date: Tue, 02 Jul 2002 20:41:35 +0000
Subject: Bug #16393 Updated: @ does not mask E-WARNING produced by unlink
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12862@lists.php.net to get a copy of this message
ID: 16393 Updated by: sterling@php.net Reported By: ricko@garagegames.com -Status: Feedback +Status: Bogus Bug Type: Filesystem function related Operating System: Linux PHP Version: 4.1.2 New Comment: yep, that's how surpressing errors works, if you register an error handler that'll always be called. Previous Comments: ------------------------------------------------------------------------ [2002-04-02 13:37:50] sander@php.net Works fine for me. Can you try RC1 from www.php.net/~derick ? ------------------------------------------------------------------------ [2002-04-02 12:16:07] ricko@garagegames.com @unlink("bogus") still triggers an E_WARNING even though the @ is supposed to suppress the error when the file doesn't exist or any error condition. I currently have a custom error handler installed and get E_WARNINGs comming in when the file does not exist. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16393&edit=1

« previous php.bugs (#12862) next »