(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
$_SESSION — Session variables
An associative array containing session variables available to the current script. See the Session functions documentation for more information on how this is used.
Nota:
Questa è una variabile 'superglobale', o automaticamente global. Ciò semplicemente significa che è visibile in tutti gli ambiti in uno script. Non è necessario dichiararla come global $variable; per accedervi da funzioni o metodi.