3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = parse_url('http://www.example.com/путин/'); $url['path'] = str_replace('/','',$url['path']); $url['path'] = urlencode($url['path']); var_dump($url); echo $url['scheme'] . '://' . $url['host'] . '/' . $url['path'];
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["scheme"]=> string(4) "http" ["host"]=> string(15) "www.example.com" ["path"]=> string(30) "%D0%BF%D1%83%D1%82%D0%B8%D0%BD" } http://www.example.com/%D0%BF%D1%83%D1%82%D0%B8%D0%BD

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:
46.26 ms | 401 KiB | 8 Q