Hi Didou,

On Tue, Oct 28, 2003 at 10:50:24PM +0100, Mehdi Achour wrote:
> 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
> >[...]
> >      <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 ?

Probably you're right. I'm sorry.

Could somebody else please check this?

Cheers,
Martin

Reply via email to