3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Test { public function doIt() { echo "test"; } } $test = new Test; $test->doIt()?;
Output for 5.3.0 - 5.4.10
Parse error: syntax error, unexpected ';' in /in/SHbrH on line 11
Process exited with code 255.