3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class x { public function __construct() { $x +=& $this; $x = new stdClass; var_dump($this); } } var_dump(new x);
Output for 5.3.0 - 5.4.8
Parse error: syntax error, unexpected '&' in AQodZ on line 7
Process exited with code 255.