Introduction to PHP for Drupal Tutorial #8: PHP Functions
4,734 views · Published 2 September 2013 · 11:54 · Indexed 3 October 2026
Channel: Web Development Tutorials · 2013 · Education
Help support these tutorials by visiting www.torontowebsitedeveloper.com/store. Each purchase helps to keep these video tutorials free and frequent. 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.
More from this channel
-
9:04
Drupal Video Tutorial: Embedding Multi-Axis Reviews
-
34:27
Drupal 6 Module Development: Creating a Related Nodes Block Tutorial 1 of 2
-
2:27
Cool Drupal 7 Modules #1: Module Filter
-
13:12
Introduction to PHP for Drupal Tutorial #5: Nesting If Statements and Switch Statements
-
13:17
Introduction to PHP for Drupal Tutorial #6: PHP Arrays
-
16:08
Introduction to PHP for Drupal Tutorial #7: PHP Loops
-
10:02
Introduction to PHP for Drupal Tutorial #10: PHP Objects
-
10:57
Drupal 7 Module Development Tutorial #11 - Using Template_Preprocess to Change the Flag Link