From 2521d19bc84757f314dc385dd909d443edf0412f Mon Sep 17 00:00:00 2001 From: Martin Samesch Date: Wed, 29 Oct 2003 08:52:31 +0000 Subject: [PATCH] sorry, hopefully correct correction this time... git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143321 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 f547691d62..feebcd8973 100644 --- a/reference/session/functions/session-unset.xml +++ b/reference/session/functions/session-unset.xml @@ -1,5 +1,5 @@ - + @@ -22,7 +22,8 @@ If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is - used, use $_SESSION = array(); to unregister a session variable. + used, use unset to unregister a session + variable, i.e. unset ($_SESSION['varname']);