3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.somepage.com/clicker.php?id_campaign=8&id_email=9324&url=https://www.google.com/search?q=dog&amp;sxsrf=ALeKk019eteEpAwVf2Fk4qYo7TiwhuMQ_Q:1596666153666&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=2ahUKEwiqzqf3jIXrAhUisaQKHRayBWAQ_AUoAXoECBkQAw&amp;biw=1920&amp;bih=921#imgrc=M4wsJO0A7OQfTM'; $url = str_replace('&amp;', '__TEMP__', $url); $parts = parse_url($url); parse_str($parts['query'], $query); $urlParam = str_replace('__TEMP__', '&', $query['url']); var_dump($urlParam);
Output for git.master, git.master_jit, rfc.property-hooks
string(185) "https://www.google.com/search?q=dog&sxsrf=ALeKk019eteEpAwVf2Fk4qYo7TiwhuMQ_Q:1596666153666&source=lnms&tbm=isch&sa=X&ved=2ahUKEwiqzqf3jIXrAhUisaQKHRayBWAQ_AUoAXoECBkQAw&biw=1920&bih=921"

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