3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(parse_url('file://c:/path/to/dir')); var_dump(parse_url('file:///path/to/dir')); var_dump(parse_url('phar://c:/path/to/dir')); var_dump(parse_url('phar:///path/to/dir'));
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["scheme"]=> string(4) "file" ["host"]=> string(1) "c" ["path"]=> string(12) "/path/to/dir" } array(2) { ["scheme"]=> string(4) "file" ["path"]=> string(12) "/path/to/dir" } array(3) { ["scheme"]=> string(4) "phar" ["host"]=> string(1) "c" ["path"]=> string(12) "/path/to/dir" } bool(false)

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