Hi
Dne Sun, 29 Jun 2014 07:49:26 -0400
Marc Delisle <marc(a)infomarc.info> napsal(a):
Since the new error reporting at the PHP level, errors
that were
"hidden" using the at sign (for example, @fopen) are now displayed, with
the possibility of sending a report.
This is IMHO bug in the error collecting code, Dhananjay can you please
look at it?
Do we now have to handle the situation differently
(with try/catch) to
avoid this error reporting? In the case I mention, there is no need to
show the error report, as the situation is already handled by checking
what fopen() returns.
I think using @ should be good enough (though catching the exceptions is
probably cleaner approach).
--
Michal Čihař |
http://cihar.com |
http://phpmyadmin.net