3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ob = new stdClass(); $ob->pro = 'test'; var_dump(json_encode($ob)); var_dump(json_encode(array('pro' => 'test'));
Output for 5.3.0 - 5.4.14
Parse error: syntax error, unexpected ';' in /in/C13Aq on line 7
Process exited with code 255.