3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'http://www.w3resource.com/php-exercises/php-basic-exercises.php'; $url = parse_url($url); echo 'Path: ' . $url['path']; ?>
based on 5Nh75
Output for 4.3.0 - 7.2.0
Path: /php-exercises/php-basic-exercises.php