new function to identify current class and function in PHP file