3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $bad = 'O:3:"stdClass":1:{s:5:"value"s:3:"gg";}'; var_dump(unserialize($bad));
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.6.28, 7.0.0 - 7.1.0
Notice: unserialize(): Error at offset 8 of 39 bytes in /in/0s0et on line 3 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Notice: Unable to unserialize: [O:3:"stdClass":1:{s:5:"value"s:3:"gg";}]. Expected '"' but got 'C'. in /in/0s0et on line 3 bool(false)
Output for 4.3.2 - 4.3.9, 5.0.0 - 5.0.2
Notice: unserialize(): Error at offset 13 of 39 bytes in /in/0s0et on line 3 bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 13 of 39 bytes in /in/0s0et on line 3 bool(false)