3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'a:4:{i:0;s:6:"246272";i:1;s:114:"Иван O%3A8%3A%22Example2%22%3A1%3A%7Bs%3A14%3A%22%00Example2%00hook%22%3Bs%3A10%3A%22phpinfo%28%29%3B%22%3B%7D";i:2;i:31622400;i:3;a:0:{}}'; $data = unserialize($string, false); var_dump($data);
based on EiVUt
Output for 7.3.0alpha1 - 7.3.0beta1
Warning: unserialize() expects parameter 2 to be array, bool given in /in/7k2Io on line 3 bool(false)
Output for hhvm-3.17.3, 7.0.0 - 7.2.6
Warning: unserialize() expects parameter 2 to be array, boolean given in /in/7k2Io on line 3 bool(false)
Output for hhvm-3.12.14 - 3.15.4
Warning: unserialize() expects parameter 2 to be array, boolean given in /in/7k2Io on line 3 NULL
Output for 5.6.0 - 5.6.30
Warning: unserialize() expects exactly 1 parameter, 2 given in /in/7k2Io on line 3 bool(false)