ZF-4577: Zend_Cache_Core::test() may return integer when using File backend

Issue Type: Docs: Improvement Created: 2008-10-12T13:36:11.000+0000 Last Updated: 2009-12-19T02:35:09.000+0000 Status: Resolved Fix version(s): - 1.9.7 (11/Jan/10)

Reporter: Ryan Korczykowski (theos) Assignee: Menno Luiten (mluiten) Tags: - Zend_Cache

Related issues: - ZF-3539

Attachments: - ZF-4577.patch


This may be documentation issue more than anything else, but Zend_Cache_Core::test() with a File backend returns an integer instead of a boolean when the id exists.

Version: trunk r11883


Posted by Fabien MARTY (fab) on 2008-10-12T14:45:41.000+0000

it's the last modified timestamp

so it is normal

but the documentation is not clear, I agree

so I change your issue into a documentation improvement


Posted by Fabien MARTY (fab) on 2009-07-17T11:03:39.000+0000

change Assignee because I'm inactive now

Posted by Menno Luiten (mluiten) on 2009-12-17T05:05:10.000+0000

Attached patch that changes API documentation on Zend_Cache_Core and Zend_Cache_Frontend_File regarding this issue.

Posted by Menno Luiten (mluiten) on 2009-12-19T02:35:09.000+0000

Resolved in r19781. Thank you.

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.