ZF-1973: Unexpected results with Zend_Cache_Backend_File when using user-defined error handler
Description
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...
Comments
Posted by Darby Felton (darby) on 2007-09-20T08:09:48.000+0000
Assigning to [~fab] to initiate issue review.
Posted by Darby Felton (darby) on 2007-09-20T08:11:57.000+0000
Reduced priority to minor based on JIRA definitions