3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $newfunc = create_function('$a,$b', 'return "ln($a) + ln($b) = " . log($a * $b);'); var_dump($newfunc);
Output for 7.2.0
Deprecated: Function create_function() is deprecated in /in/v3Bt3 on line 4 string(9) "lambda_1"
Output for 4.3.0 - 7.1.10
string(9) "lambda_1"