3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://login.some.site/a/b/c?redir=ef"; echo parse_url($url, PHP_URL_SCHEME + PHP_URL_HOST);

preferences:
37.43 ms | 402 KiB | 5 Q