title: php7 does not support bool in unserialize function?
body: <p>I am trying to use the <code>unserialize</code> function with the second param that was introduced in php7 (<a href="http://www.php.net/manual/en/function.unserialize.php" rel="nofollow">http://www.php.net/manual/en/function.unserialize.php</a>)</p>
  
  <p>However, it looks like php generates an error saying the second param should be an array and not a bool value <a href="https://3v4l.org/9PhpO" rel="nofollow">https://3v4l.org/9PhpO</a>
  Does anyone have any idea why this behaviour?</p>