3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'tcp://example.com:11211?googleguy=googley&test=1&bob=3?'; var_dump(parse_url($url)); $url = 'unix://var/run/memcached:0?googleguy=googley&test=1&bob=3?'; var_dump(parse_url($url));
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { ["scheme"]=> string(3) "tcp" ["host"]=> string(11) "example.com" ["port"]=> int(11211) ["query"]=> string(31) "googleguy=googley&test=1&bob=3?" } array(4) { ["scheme"]=> string(4) "unix" ["host"]=> string(3) "var" ["path"]=> string(16) "/run/memcached:0" ["query"]=> string(31) "googleguy=googley&test=1&bob=3?" }

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:
31.68 ms | 402 KiB | 8 Q