Functions

Functions allow users to acces and comeplete complicagted task in a reduced amount of time. Much like constants, functions are presaved features in php that provide the user with quck shortcuts to variouse functions that php has to offer.

First Example of a Function

In this example we are given the total amount of letters in the alphabet through a function that gives the length of characters in a string.

The alphabet contains 26 letters

Second Example of a Function

In this exmaple the function populates the stored data of my parents names as well as mine and it also displays the year we were each born.

Norm Refsnes. Born in 1968
Kim Refsnes. Born in 1974
Teaomnmi Refsnes. Born in 1995
functioncode