3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url='https://m.facebook.com/home.php?refsrc=https%3A%2F%2Fm.facebook.com%2F&refid=8&_rdr'; var_dump( parse_url($url,PHP_URL_SCHEME), parse_url($url,PHP_URL_HOST), parse_url($url,PHP_URL_HOST | PHP_URL_SCHEME), parse_url($url,-1) );
Output for git.master, git.master_jit, rfc.property-hooks
string(5) "https" string(14) "m.facebook.com" string(14) "m.facebook.com" array(4) { ["scheme"]=> string(5) "https" ["host"]=> string(14) "m.facebook.com" ["path"]=> string(9) "/home.php" ["query"]=> string(51) "refsrc=https%3A%2F%2Fm.facebook.com%2F&refid=8&_rdr" }

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:
57.9 ms | 401 KiB | 8 Q