From 91484c047fb759f74268c9ebcc4392dff478c71d Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Wed, 29 Oct 2003 09:23:20 +0000 Subject: [PATCH] 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 --- reference/session/functions/session-unset.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reference/session/functions/session-unset.xml b/reference/session/functions/session-unset.xml index feebcd8973..15713dec5c 100644 --- a/reference/session/functions/session-unset.xml +++ b/reference/session/functions/session-unset.xml @@ -1,5 +1,5 @@ - + @@ -23,7 +23,8 @@ If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is used, use unset to unregister a session - variable, i.e. unset ($_SESSION['varname']); + variable, i.e. unset ($_SESSION['varname']); and + $_SESSION = array(); to free all the registred variables.