ZF-3098: Zend_Memory_MemoryTest causes fatal error in unit test suite

Issue Type: Unit Tests: Problem Created: 2008-04-11T09:10:19.000+0000 Last Updated: 2008-09-02T10:39:06.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Darby Felton (darby) Assignee: Darby Felton (darby) Tags: - Zend_Cache

  • Zend_Memory

Related issues: Attachments:


<pre class="literal">
PHP Fatal error:  Access to undeclared static property:  Zend_Cache::$availableBackends in /var/local/zf/library/Zend/Memory.php on line 61


Posted by Alexander Veremyev (alexander) on 2008-04-11T09:13:58.000+0000

Started checking what is the problem

Posted by Darby Felton (darby) on 2008-04-11T09:19:41.000+0000

I suspect a regression in Zend_Cache, but I don't have much to back that assertion yet.

Posted by Darby Felton (darby) on 2008-04-11T10:23:54.000+0000

Yes, it seems that Zend_Cache::$availableBackends was removed (same also for Zend_Cache::$availableFrontends) in SVN r9056. These should be restored and marked as @deprecated. The next major release would be the next opportunity to actually remove these from the class.

Posted by Darby Felton (darby) on 2008-04-11T10:31:29.000+0000

Fixed with SVN r9196.

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:06.000+0000

Updating for the 1.6.0 release.

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.