3v4l.org

run code in 300+ PHP versions simultaneously
<?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);

preferences:
45.97 ms | 402 KiB | 5 Q