3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = https://www.google.co.uk/ if (strpos($url, 'swooneditions.com') !== false) { $url = 'swooneditions.com'; }
Output for 5.3.0 - 5.5.9
Parse error: syntax error, unexpected ':' in /in/vDvTX on line 2
Process exited with code 255.