3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function __lambda_func() {} $fn = create_function("", ""); ?>
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Fatal error: Cannot redeclare __lambda_func() (previously declared in /in/Te4Cv:2) in /in/Te4Cv(4) : runtime-created function on line 1
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Output for 4.3.0 - 4.3.1
Fatal error: Cannot redeclare __lambda_func() (previously declared in /in/Te4Cv:2) in /in/Te4Cv(4) : runtime-created function on line 1