Examples of Built-In and User Defined Functions
Built-In Function Example
Here is an example of a Built-In Function
The length of the word supercalifragilisticexpialidocious is 34The built-in function used here is mb_strlen, which is used to count the number of characters in a word.
User Defined Function Example
Here is the result of a User Defined Function
10This user defined function agrument is passed by reference, which uses the "&" operator in front of the agrument parameter.