<?php $y = 'path/to/somewhere#foo'; var_dump(parse_url($y));
You have javascript disabled. You will not be able to edit any code.