|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-05 00:32 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 12:00:01 2025 UTC |
I commonly use a foreach to set my POST array into normal variables. foreach($_POST as $key=>$value) ${$key} = $value; but, when I tried this to unset sessions (code follows), PHP.EXE pops up a window and declares it has to close. foreach($_SESSION as $key) unset($_SESSION[$key]) I know I could go a better way about doing this, and I have. I just thought I would share this bit of information with you. :) Good day.