note 63833 added to function.unset

From: Date: Sat, 01 Apr 2006 07:31:46 +0000
Subject: note 63833 added to function.unset
Groups: php.notes 
Request: Send a blank email to php-notes+get-107120@lists.php.net to get a copy of this message
Instead of using the unset function for unregistering your session or other array values you can also do this samll feature and get this task done with just 1 line code. Suppose, if you like to unregister your session store values. You can use: $_SESSION = array(); Well this syntax saves lot's of time instead of unsetting each values. ---- Server IP: 203.199.107.94 Probable Submitter: 61.11.120.218 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.unset.php Edit -- http://master.php.net/note/edit/63833 Del: integrated -- http://master.php.net/note/delete/63833/integrated Del: useless -- http://master.php.net/note/delete/63833/useless Del: bad code -- http://master.php.net/note/delete/63833/bad+code Del: spam -- http://master.php.net/note/delete/63833/spam Del: non-english -- http://master.php.net/note/delete/63833/non-english Del: in docs -- http://master.php.net/note/delete/63833/in+docs Del: other reasons-- http://master.php.net/note/delete/63833 Reject -- http://master.php.net/note/reject/63833 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#107120) next »