3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { public $a, $b, $c; public function __construct() { $this->a = 1, $this->b = 2, $this->c = 3; echo $this->a, $this->b, $this->c; } $t = new Test; // 123
Output for 5.3.0 - 5.4.27
Parse error: syntax error, unexpected ',' in /in/hdRHI on line 7
Process exited with code 255.