- <?php
- session_start () ;
- session_register ( \"A\" ) ;
- session_register ( \"B\" ) ;
- session_register ( \"C\" ) ;
- $A = \"AAA\";
- $B = \"BBB\";
- $C = \"CCC\";
- $result = session_destroy () ;
- if ($result=1) {
- echo \"The session is destroyed! \" , \"\\n \" ;
- } else {
- echo \"The session could not be destroyed. \" , \" \\n\" ;
- }
- echo $pop;
- ?>
- //该片段来自于http://www.codesnippet.cn/detail/10112012241.html
来源: http://www.codesnippet.cn/detail/10112012241.html