3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!filter_has_var(INPUT_POST, "url")) { echo("Input type does not exist"); } else { $url = filter_input(INPUT_POST, "url", FILTER_SANITIZE_URL); } ?>

preferences:
31.68 ms | 402 KiB | 5 Q