3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = http://www.website.com?&p=107 $url = str_replace($url, "&p", "p"); echo $url; // will return http://www.website.com?p=107 ?>
Output for 5.3.0 - 5.4.11
Parse error: syntax error, unexpected ':' in /in/LeFQ5 on line 3
Process exited with code 255.