3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('o:1:0:{}'));
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Notice: unserialize(): Error at offset 0 of 8 bytes in /in/GkC24 on line 2 bool(false)
Output for hhvm-3.12.0
Notice: Unable to unserialize: [o:1:0:{}]. Unknown type 'o'. in /in/GkC24 on line 2 bool(false)
Output for hhvm-3.10.0
Notice: Unable to unserialize: [o:1:0:{}]. Unknown type 'o'. in /in/GkC24 on line 21 bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 0 of 8 bytes in /in/GkC24 on line 2 bool(false)