3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class MyClass { public function __constructor{ echo "MyClass class has initializad !"; } } $myClass = new Myclass; echo $myClass;
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '{', expecting '(' in /in/e50dd on line 5
Process exited with code 255.