3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( parse_url(' http://a.b/p?q#f'), parse_url('http://a.b/p?q#f '), parse_url('http://a.b/ p?q#f'), );
Output for git.master_jit, git.master
array(3) { ["path"]=> string(13) " http://a.b/p" ["query"]=> string(1) "q" ["fragment"]=> string(1) "f" } array(5) { ["scheme"]=> string(4) "http" ["host"]=> string(3) "a.b" ["path"]=> string(2) "/p" ["query"]=> string(1) "q" ["fragment"]=> string(2) "f " } array(5) { ["scheme"]=> string(4) "http" ["host"]=> string(3) "a.b" ["path"]=> string(3) "/ p" ["query"]=> string(1) "q" ["fragment"]=> string(1) "f" }

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:
15.25 ms | 406 KiB | 5 Q