3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 'http://example.com/path/to/somewhere?param1=x&param2=http://another.example.com/path/to/another/example/'; var_dump(parse_url($x)); $y = 'path/to/somewhere?param1=x&param2=http://another.example.com/path/to/another/example/'; var_dump(parse_url($y));

preferences:
51.77 ms | 402 KiB | 5 Q