Added function for finding function in current file in PHP