$_SESSION['user'] = 0; echo $_SESSION['user'];
$_SESSION['user']['a'] = 1; $_SESSION['user']['b'] = 2; echo $_SESSION['user']['a']; echo $_SESSION['user']['b'];
$_SESSION['admin']['a'] = 11; $_SESSION['admin']['b'] = 22;
希望本文所述对大家的PHP程序设计有所帮助。