3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo(){} function foo(){}
Output for 5.3.0 - 5.4.29
Fatal error: Cannot redeclare foo() (previously declared in /in/8O4BV:3) in /in/8O4BV on line 4
Process exited with code 255.