give the two possibilities, it doesn't harm ;)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143323 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2003-10-29 09:23:20 +00:00
parent 2521d19bc8
commit 91484c047f

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/session.xml, last change in rev 1.8 -->
<refentry id="function.session-unset">
<refnamediv>
@ -23,7 +23,8 @@
If <varname>$_SESSION</varname> (or
<varname>$HTTP_SESSION_VARS</varname> for PHP 4.0.6 or less) is
used, use <function>unset</function> to unregister a session
variable, i.e. <literal>unset ($_SESSION['varname'])</literal>;
variable, i.e. <literal>unset ($_SESSION['varname']);</literal> and
<literal>$_SESSION = array();</literal> to free all the registred variables.
</para>
</note>
<para>