$_SESSION['userinfo'] = $userinfo什么意思
$userinfo = array( 'uid' => 10000, 'name' => 'spark', 'email' => 'spark@imooc.com', 'sex' => 'man', 'age' => '18' ); /* 将用户信息保存到session中 */ $_SESSION['uid'] = $userinfo['uid'];这句话是指把10000存进session中, $_SESSION['userinfo'] = $userinfo;那这句话什么意思?