3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Without scheme and host'.PHP_EOL; echo PHP_EOL; print_r(parse_url('/s?a=12&b=12.3.3.4:1233', PHP_URL_QUERY)); echo PHP_EOL.PHP_EOL;; echo 'With scheme and host'.PHP_EOL; echo PHP_EOL; print_r(parse_url('http://example.com/s?a=12&b=12.3.3.4:1233', PHP_URL_QUERY));
Output for git.master, git.master_jit, rfc.property-hooks
Without scheme and host a=12&b=12.3.3.4:1233 With scheme and host a=12&b=12.3.3.4:1233

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