Re: cvs: phpdoc /en/reference/session/functions session-unset.xml

From: Date: Tue, 28 Oct 2003 21:50:24 +0000
Subject: Re: cvs: phpdoc /en/reference/session/functions session-unset.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969356748@lists.php.net to get a copy of this message
Hi,
Index: phpdoc/en/reference/session/functions/session-unset.xml diff -u phpdoc/en/reference/session/functions/session-unset.xml:1.4 phpdoc/en/reference/session/functions/session-unset.xml:1.5 --- phpdoc/en/reference/session/functions/session-unset.xml:1.4 Mon May 19 08:09:26 2003 +++ phpdoc/en/reference/session/functions/session-unset.xml Tue Oct 28 15:45:38 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/session.xml, last change in rev 1.8 --> <refentry id="function.session-unset">
    <refnamediv>
@@ -22,8 +22,7 @@
      <para>
       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 session
-      variable. i.e. $_SESSION = array();
+      used, use $_SESSION = array(); to unregister a session variable.
      </para>
I think that the text should be : use unset($_SESSION['some_variable']) to unregister a session variable. Because, $_SESSION = array() destroy all the variables. Am I wrong ? didou

« previous php.doc (#969356748) next »