3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oo=unserialize('O:6:"person":2:{s:4:"name";s:5:"zhang";s:3:"age";i:23;}'); var_dump($oo);var_dump($oo->age); $arr=array(8);echo $arr[8];

preferences:
42.07 ms | 402 KiB | 5 Q