3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function ​(){ echo "Hello!\n"; }​(); function ​(){ echo "Hello!\n"; }​();
Output for 5.0.0 - 5.4.23
Fatal error: Cannot redeclare ​() (previously declared in /in/eBMqE:2) in /in/eBMqE on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Hello! Fatal error: Cannot redeclare ​() (previously declared in /in/eBMqE:2) in /in/eBMqE on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Hello! Fatal error: Cannot redeclare ​() (previously declared in /in/eBMqE:2) in /in/eBMqE on line 3