3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parts = parse_url('ssh://git@bitbucket.org/foo/bar.git'); unset($parts['scheme']); $parts['port'] = 'foo'; $parts['path'] = '/bar.git'; echo http_build_url($parts);

preferences:
44.96 ms | 402 KiB | 5 Q