ZF-2511: Zend_Cache load strict operator comparison


The code snippets in the Zend_Cache docs don't use the strict operator, thus an empty cache-object behaves like a cache-miss:

if (!($data = $cache->load($cacheId))) {
    // cache miss...

So if the loaded cache is just empty in a file-cache it looks like: " -1571559392a:0:{}" it will be generated again.

Docs should use the strict comparison:

if (false === ($data = $cache->load($cacheId))) {
    // cache miss


fixed in SVN trunk (thanks)

Updating for the 1.6.0 release.