3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class dupa { public $a; public function _construct() { echo '+_construct'; } public function dupa($param) { $this->$a = $param } } $a = new dupa('blabla');
Output for 5.3.0 - 5.4.27
Parse error: syntax error, unexpected '}' in /in/LF5Nf on line 11
Process exited with code 255.