ZF-7375: Zend_Cache_Backend_File.php throws Fatal Error: missing variable $mqr

Issue Type: Bug Created: 2009-07-24T00:49:54.000+0000 Last Updated: 2009-07-24T04:59:00.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Stefan Riehl (sterie) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Cache

Related issues: Attachments:



there is a bug in 1.9.0 b1 in the file: Zend_Cache_Backend_File.php at line 958. In the function _fileGetContents($file): There is used a variable called $mqr, but this variable is not declared before. In version 1.9.0a1 the variable is declared before with

    if (function_exists('get_magic_quotes_runtime')) {
        $mqr = @get_magic_quotes_runtime();

Maybe you can fix it


Posted by Matthew Weier O'Phinney (matthew) on 2009-07-24T04:59:00.000+0000

get_magic_quotes/set_magic_quotes have been deprecated for some time, and we removed the calls to it in b1. However, as you note, we missed one; this has been corrected now on the trunk and 1.9 release branch.

Have you found an issue?

See the Overview section for more details.


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

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