3v4l.org

run code in 300+ PHP versions simultaneously
<?php function checkText($email, $passwd, $loc, $errorMess){ if ($email == ""){ $host = $_SERVER['HTTP_HOST']; $location = ("?emailL=$email&errorBoxSignIn=$errorMess"); header("Location: http://$host/$location"); die(); }; }; ?>

preferences:
45.17 ms | 402 KiB | 5 Q