Superglobal Variables PHP

suggest change

Versions

Superglobals have been available since PHP 4.1.

Introduction

Superglobals are built-in variables that are always available in all scopes.

Several predefined variables in PHP are “superglobals”, which means they are available in all scopes throughout a script. There is no need to do global $variable; to access them within functions or methods.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents