[Phpmyadmin-devel] about the new error reporting at PHP level

Michal Čihař michal at cihar.com
Tue Jul 1 10:04:16 CEST 2014


Hi

Dne Sun, 29 Jun 2014 07:49:26 -0400
Marc Delisle <marc at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140701/2931134a/attachment.sig>


More information about the Developers mailing list