note 15529 added to function.session-unregister

From: Date: Sat, 15 Sep 2001 23:20:41 +0000
Subject: note 15529 added to function.session-unregister
Groups: php.notes 
Request: Send a blank email to php-notes+get-18049@lists.php.net to get a copy of this message
In complement of last note i made this function... function my_session_unregister() { // variable argument function for ( $i = 0, $b = true ; $i < func_num_args() ; $i++) { unset(${func_get_arg($i)}) ; $b .= session_unregister(func_get_arg($i)) ; } return $b ; } The usage is : my_session_unregister("var1", "var2",..."varN") ; http://www.php.net/manual/en/function.session-unregister.php

« previous php.notes (#18049) next »