3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Test { public function i() { return 1; } } $i = new Test; var_dump(++$i->i());
Output for 5.3.0 - 5.4.22
Fatal error: Can't use method return value in write context in /in/kFm7e on line 13
Process exited with code 255.