3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function s(){echo "s";} function s(){echo "s2";} s()
Output for 5.3.0 - 5.4.20
Fatal error: Cannot redeclare s() (previously declared in /in/RXD2R:2) in /in/RXD2R on line 3
Process exited with code 255.