3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $requestURL="http://localhost/neukundenbonus/?PartnerId=403&utm_source=bertelsmann&utm_medium=iframe&utm_campaign=Bertelsmann%20Club"; $url = preg_replace('/neukundenbonus/', 'https://www.lottowelt.de/lotto/online/de/lw/lotto-online-tippen.html', $requestURL); $result = substr($url,1); echo $url; echo $result;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
http://localhost/https://www.lottowelt.de/lotto/online/de/lw/lotto-online-tippen.html/?PartnerId=403&utm_source=bertelsmann&utm_medium=iframe&utm_campaign=Bertelsmann%20Clubttp://localhost/https://www.lottowelt.de/lotto/online/de/lw/lotto-online-tippen.html/?PartnerId=403&utm_source=bertelsmann&utm_medium=iframe&utm_campaign=Bertelsmann%20Club