What is function? Explain user defined function with suitable code. php code example Example: function php function functionName() { //code to be executed; }