Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

2.7 Local and Global PHP Variables

We use variables to store data in memory. Simple, but there are some rules that you need to understand. We'll discuss those rules in this lesson, and we'll also look at a couple of different PHP variable types: PHP local variables and PHP global variables. Also, I'll explain default function parameters.

2.7 Local and Global PHP Variables

Back to the top