3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('O:8:"stdClass":2:{s:3:"foo";i:123;s:3:"bar";i:456;}'));
Output for 5.0.0 - 7.1.0
object(stdClass)#1 (2) { ["foo"]=> int(123) ["bar"]=> int(456) }
Output for 4.3.0 - 4.4.9
object(stdClass)(2) { ["foo"]=> int(123) ["bar"]=> int(456) }