How to Use PHP References
OSTraining
Course Summary
In this intermediate-level PHP class, Robert introduces you to references. PHP references are often useful and sometimes essential tools for accesing data in your code.
-
+
Course Description
In this intermediate-level PHP class, Robert introduces you to references. PHP references are often useful and sometimes essential tools for accesing data in your code.
Robert learned HTML/CSS back in 2008 when he decided to start a film review site, and he continued adding to his site file-by-file the old-fashioned way for a year. When he asked a web developer friend how to build a site that "automatically lists content on the homepage and stuff," he was pointed to Drupal.
Since then, Robert has continued to build his experience with the CMS by using it on his own projects and by managing other brands' pre-existing Drupal sites. In doing so, he has learned some of the best ways to use the tools Drupal has available--and what mistakes to avoid.
In his spare time, Robert trains Brazilian Jiu Jitsu and works on too many side programming projects. He is also the author of two books.
-
+
Course Syllabus
Videos
Introduction to PHP References
Understanding How Variables Work in PHP
A Basic References Example
A Basic Use Case for References
Using References for Direct Access in Loops
Using References for Direct Access in Functions
More Notes on PHP References
PHP References Quiz