3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function a() { function b() {} } a(); a();
Output for 5.6.30, 7.0.28 - 7.3.0beta1
Fatal error: Cannot redeclare b() (previously declared in /in/2osdo:4) in /in/2osdo on line 4
Process exited with code 255.
Output for hhvm-3.18.5 - 3.22.0