Skip navigation

Scope and global variables

Scope and global variables: PHP with MySQL Essential Training
Scope and global variables: PHP with MySQL Essential Training

In PHP, the concept of variable scope means that variables are only accessible within their context. There are two main scopes -- global and local. This video in the PHP with MySQL training demonstrates scope and global variables using a simple PHP program. Also, learn how to check if a variable is available using the isset() function and how to work around scoping issues using the keyword global.

Resume Transcript Auto-Scroll
Skill Level Beginner
14h 32m
Duration
4,813,305
Views
Show More Show Less

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now