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>'; ?>
based on duSQZ
Output for 4.3.0 - 5.3.5, 5.3.7 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
Scheme : http</br>Host : www.w3resource.com</br>Path : /php-exercises/php-basic-exercises.php</br>
Output for 5.3.6

Process exited with code 137.