How to pass REQUEST_URI to function

How to pass REQUEST_URI to function