Home  >  Article  >  Backend Development  >  $_SESSION为啥不让打

$_SESSION为啥不让打

WBOY
WBOYOriginal
2016-06-13 12:31:39841browse

$_SESSION为什么不让打
我想打印出$_SEEION这个数组中的结构,但是返回的却是Notice:  Undefined variable: _SESSION in D:\wamp\www\test.php on line 3  记得以前打印$_SERVER很容易就出来,不知这个是为什么

<?php<br />
    echo '<pre class="brush:php;toolbar:false">';<br />
    print_r($_SESSION);<br />
    echo '
';
?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn