Functions are reusable code blocks that only execute when called. They allow the code to be divided into smaller parts that are easier to understand and reuse.
Defining Functions
A function code block can contain any valid PHP code, including other function definitions.