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);var_dump($oo->age); $arr=array(8);echo $arr8];
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected ']', expecting ',' or ';' in /in/8R1Kt on line 5
Process exited with code 255.