3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { public $bar = +array(1, 2, 3); } $f = new foo; var_dump($f->bar);
Output for 5.3.0 - 5.4.17
Fatal error: Unsupported operand types in /in/KpkgF on line 4
Process exited with code 255.