3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $oo=unserialize('O:6:"person":2:{s:4:"name";s:5:"zhang";s:3:"age";i:23;}'); var_dump($oo);
Output for 5.0.0 - 7.1.0
object(__PHP_Incomplete_Class)#1 (3) { ["__PHP_Incomplete_Class_Name"]=> string(6) "person" ["name"]=> string(5) "zhang" ["age"]=> int(23) }
Output for 4.3.0 - 4.4.9
object(__PHP_Incomplete_Class)(3) { ["__PHP_Incomplete_Class_Name"]=> string(6) "person" ["name"]=> string(5) "zhang" ["age"]=> int(23) }