note 36935 added to function.unset

From: Date: Tue, 28 Oct 2003 00:25:47 +0000
Subject: note 36935 added to function.unset
Groups: php.notes 
Request: Send a blank email to php-notes+get-59394@lists.php.net to get a copy of this message
for what it's worth... in php 4.1, using unset to destroy a session variable, i.e. unset($_SESSION['variable']); destroys it by erasing variable information but leaves behind the variable name appended with a '!' in front of the name in the session file... leaving the session file larger and x bytes wasted depending on the variable name length ---- Manual Page -- http://www.php.net/manual/en/function.unset.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36935 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36935&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36935&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#59394) next »