Introduction to PHP for Drupal Tutorial #8: PHP Functions

In this 8th PHP tutorial, I walk you through PHP functions. I show you the syntax for creating your own functions, explain why you should create functions, look at passing variables into functions, defining default values for variables passed to functions, how to return values from functions and lastly, how variables can be passed in by reference.