Steve,

You are right!
Much thanks pointing that out.

You can find a PR to fix that here:
https://github.com/zendframework/zf2/pull/2877

Greetings
Marc

On 31.10.2012 20:38, Steve Eriksen wrote:
> Hi,
> 
> I have a little problem with \Zend\Cache\Pattern\OutputCache.php.
> 
> It seems to me that line 88 should be "ob_get_flush()" rather than
> "ob_end_flush()".
> 
> ob_get_flush flushes the contents of the output buffer, and returns the
> contents for further processing.
> 
> ob_end_flush returns a "true" or "false" (on failure), which seems a bit
> pointless to cache :)
> 
> If I keep the code "as-is" then all that gets cached is "1". If I use
> ob_get_flush() then the proper contents are cached.
> 
> Best regards,
> Steve
> 
> 

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to