3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('O:8:"stdClass":1:{s:3:"foo";i:123;s:3:"bar";i:456;}'));
Output for 7.1.10 - 7.2.0
Notice: unserialize(): Error at offset 34 of 51 bytes in /in/4UqVp on line 2 bool(false)
Output for 4.3.2 - 7.1.7
Notice: unserialize(): Error at offset 35 of 51 bytes in /in/4UqVp on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 35 of 51 bytes in /in/4UqVp on line 2 bool(false)