3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'ftp://some.ftp.host.ru/path/to/main.page.htm'; var_dump(parse_url($url)); var_dump(path_info($url));

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
array(3) { ["scheme"]=> string(3) "ftp" ["host"]=> string(16) "some.ftp.host.ru" ["path"]=> string(22) "/path/to/main.page.htm" } Fatal error: Uncaught Error: Call to undefined function path_info() in /in/8Mn2W:7 Stack trace: #0 {main} thrown in /in/8Mn2W on line 7

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