Cache returned (boolean) 0

Cache returned (boolean) 0.

($result = $cache->get($key) === false))
replace
(($result = $cache->get($key)) === false))

It has been tested on PHP 5.4.29