3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class aaa{ private $a=6; private $b; function aaa($a){ echo $a } } $a=new aaa();
Output for 5.3.0 - 5.4.11
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/j9vHi on line 7
Process exited with code 255.