3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = (object) array( 'id' => 1, 'name' => 'test', ); echo serialize($a);
Output for 4.3.0 - 7.1.0
O:8:"stdClass":2:{s:2:"id";i:1;s:4:"name";s:4:"test";}