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

Issue Type: Bug Created: 2007-09-20T07:48:59.000+0000 Last Updated: 2008-03-21T16:25:42.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Romain Lalaut (roro) Assignee: Fabien MARTY (fab) Tags: - Zend_Cache

Related issues: Attachments:


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...


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

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.