<?php echo dirname('http://www.google.com/test/hello');
You have javascript disabled. You will not be able to edit any code.