#19329 [Opn->Fbk]: suppressing error messsages with '@' fails
| From: | sniper@php.net | Date: | Tue, 10 Sep 2002 14:54:19 +0000 |
| Subject: | #19329 [Opn->Fbk]: suppressing error messsages with '@' fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18932@lists.php.net to get a copy of this message | ||
ID: 19329
Updated by: sniper@php.net
Reported By: soletan@toxa.de
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: Linux 2.4.18
PHP Version: 4.2.3
New Comment:
Please provide a short example script..
Previous Comments:
------------------------------------------------------------------------
[2002-09-10 04:41:29] soletan@toxa.de
Hi,
is it right to use '@' before function calls to prevent them from
producing error messages???
I'm using Apache 2.0.40 with PHP 4.2.3 and Zend Optimizer 2.0
included.
Well, I use it before fopen and get some message, that the file I'm
looking for isn't available for reading. After some stress with
file_exists I used this to workaround file_exists.
To test that problem I prepared to use 4.3.0-dev snapshot 200209082100
which I used now to test this new failure, again. It reports some error
message, too. It is just reformed to say the same with other words.
("failed to create stream: ...")
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19329&edit=1