<?php session_start(); $_SESSION["e"]="dfsdf"; echo $_SESSION["e"]."<br>"; //unset($_SESSION["e"]); $_SESSION=array(); echo "删除后的数组".$_SESSION["e"]."<br>"; echo session_id()."<br>"; session_destroy(); echo "销毁后的数组".$_SESSION["e"]."<br>"; echo session_id(); ?>
为什么报错?
qq_青枣工作室_0
Tobey_滔