PHP: Display errors, but also hide them

I develop php with the correct php.ini settings:

error_reporting = E_ALL | E_STRICT
display_errors = On
log_errors = On

But, this has the problem of occasionally showing me errors that I care about, but not right now.

Which is unacceptable. Hence, my new error_{prepend,append}_string:

error_prepend_string = "<pre style="color: #ff0000; cursor: pointer;" ondblclick="\"this.style.display='none';\">"
error_append_string = "&lt;/pre>"

(Substitute ‘<’ for ‘&lt;’. Sorry: WordPress is silly.)

Now I can doubleclick on errors to dismiss them. I like it.