<div dir="ltr">Hi,<div><br><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 1, 2014 at 5:28 PM, Dhananjay Nakrani <span dir="ltr"><<a href="mailto:dhananjaynakrani@gmail.com" target="_blank">dhananjaynakrani@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Hi,<br><br><div class="gmail_quote"><div class="">On Tue, Jul 1, 2014 at 1:34 PM, Michal Čihař <span dir="ltr"><<a href="mailto:michal@cihar.com" target="_blank">michal@cihar.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
Dne Sun, 29 Jun 2014 07:49:26 -0400<br>
Marc Delisle <<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>> napsal(a):<br>
<div><br>
> Since the new error reporting at the PHP level, errors that were<br>
> "hidden" using the at sign (for example, @fopen) are now displayed, with<br>
> the possibility of sending a report.<br>
<br>
</div>This is IMHO bug in the error collecting code, Dhananjay can you please<br>
look at it?<br></blockquote><div><br></div></div><div>Sure. I will try to solve it this week only.</div><div class=""><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
> Do we now have to handle the situation differently (with try/catch) to<br>
> avoid this error reporting? In the case I mention, there is no need to<br>
> show the error report, as the situation is already handled by checking<br>
> what fopen() returns.<br>
<br>
</div>I think using @ should be good enough (though catching the exceptions is<br>
probably cleaner approach).<br>
<span><font color="#888888"><br>
--<br>
Michal Čihař | <a href="http://cihar.com" target="_blank">http://cihar.com</a> | <a href="http://phpmyadmin.net" target="_blank">http://phpmyadmin.net</a><br>
</font></span></blockquote></div></div><br></div></div>
</blockquote></div><br></div></div><div class="gmail_extra" style>I've solved that issue by adding an extra check in custom error handler. Please review Pull#1278.</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>
Thanks,</div><div class="gmail_extra" style>Dhananjay Nakrani.</div></div>