how to create custom functions in php