<?php $url = 'http://www.w3resource.com/php-exercises/php-basic-exercises.php'; $url = parse_url($url); echo 'Path: ' . $url['path']; ?>
You have javascript disabled. You will not be able to edit any code.