3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = "/calvin/master/?p=pages&id=3"; //DYNAMIC URL $second = "http://localhost/calvin/"; print_r(parse_url($first)); print_r(parse_url($second)); echo http_build_url("http://user@www.example.com/pub/index.php?a=b#files",array_merge(parse_url($second),parse_url($first)));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [path] => /calvin/master/ [query] => p=pages&id=3 ) Array ( [scheme] => http [host] => localhost [path] => /calvin/ ) Fatal error: Uncaught Error: Call to undefined function http_build_url() in /in/cjDWM:9 Stack trace: #0 {main} thrown in /in/cjDWM on line 9
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
47.62 ms | 401 KiB | 8 Q