3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* EINSTIEGS URL: $_SERVER['REQUEST_URI']="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', $_SERVER['REQUEST_URI']); $result = substr($url,1); echo $result;
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /in/A1UkA on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /in/A1UkA on line 6
Process exited with code 255.

preferences:
193.81 ms | 1395 KiB | 64 Q