3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = '//php.net/manual/en/function.parse-url.php?v=1:337'; // Prior to 5.4.7 this would show the path as "//www.example.com/path" var_dump(parse_url($url));
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["host"]=> string(7) "php.net" ["path"]=> string(33) "/manual/en/function.parse-url.php" ["query"]=> string(7) "v=1:337" }

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:
30.85 ms | 405 KiB | 5 Q