3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = 'http://www.w3resource.com/php-exercises/php-basic-exercises.php'; $url=parse_url($url); echo 'Scheme : '.$url['scheme'].'<br />'; echo 'Host : '.$url['host'].'<br />'; echo 'Path : '.$url['path'].'<br />'; - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#collapse5
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected 'more' (T_STRING) in /in/rlYp9 on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/rlYp9 on line 9
Process exited with code 255.