Functions
A function is a block of statements that can be repeatedly used within code.The string 'This is an example of a PHP string' contains 34 characters.
PHP also allows users to define their own functions
This is an example of a user-defined function!
It was used to write this text.