3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { public $id; } $data = new Foo; $data1 = array();
Output for 5.3.29 - 7.2.0
Output for 4.3.0
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/cilX9 on line 4
Process exited with code 255.