3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tes = new StdClass; $tes->test = 1; var_dump(serialize($tes));
based on UFcZh
Output for 5.5.0 - 7.3.0rc4
string(34) "O:8:"stdClass":1:{s:4:"test";i:1;}"