3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { return "ok"; } echo "test1 = ", test(), ", test2 = ", test(), "\n"; echo "test3 = ", var_export(is_null(null), true), ", test4 = ", var_export(true, true), "\n";

preferences:
38.97 ms | 402 KiB | 5 Q