php code inside a function code example Example: function php function functionName() { //code to be executed; }