PHP Super Globals

title: Super Globals

Super Globals

List of Super Globals and what are they

Super globals are variables defined in the core of PHP, and they are available in all scopes throughout the script. This means that you do not need to define them as global $variable .

These superglobal variables are:


They all have their use cases, but mostly to beginners $_GET and $_POST are the most used. $_GET_ Pulls data from the url, while $_POST_ pulls data from the post request. Both of these are arrays. $_REQUEST_ is a collection of GET and POST.

More Information:

This article needs improvement. You can help improve this article. You can also write similar articles and help the community.