3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class foo { function foo() {return 'foo'}; } $foo = new foo(); empty($foo->foo());
Output for 5.3.0 - 5.4.22
Parse error: syntax error, unexpected '}' in /in/45FZ1 on line 4
Process exited with code 255.