how to call user defined function in php