3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class test { public function test1($a) { a$ = 'WORKS!!'; } } $obj = new test; $test->test1(); ?>
Output for 5.3.0 - 5.4.9
Parse error: syntax error, unexpected '$' in /in/GVkQF on line 5
Process exited with code 255.