3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(parse_url('/terms/ADDICTO')); // This looks ok... but by chance var_dump(parse_url('/terms/ADDICTO:001')); // This is definitely a bug var_dump(parse_url('http://example.com/terms/ADDICTO:001')); // This looks OK
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { ["path"]=> string(14) "/terms/ADDICTO" } bool(false) array(3) { ["scheme"]=> string(4) "http" ["host"]=> string(11) "example.com" ["path"]=> string(18) "/terms/ADDICTO:001" }

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:
40.59 ms | 1389 KiB | 4 Q