ZF-1973: Unexpected results with Zend_Cache_Backend_File when using user-defined error handler


Line 232 : $fp = @fopen($file, "wb"); And then : if ($fp) { ...

This behaviour is very annoying when using set_error_handler();

PHP Manual : "It is important to remember that the standard PHP error handler is completely bypassed. error_reporting() settings will have no effect and your error handler will be called regardless - however you are still able to read the current value of error_reporting and act appropriately. Of particular note is that this value will be 0 if the statement that caused the error was prepended by the @ error-control operator."

And i saw many other @ in the code...


Assigning to [~fab] to initiate issue review.

Reduced priority to minor based on JIRA definitions