#21163 [Opn->Bgs]: $_SESSION=NULL causes "an illegal operation performed by apache"
| From: | nicos@php.net | Date: | Mon, 23 Dec 2002 11:09:57 +0000 |
| Subject: | #21163 [Opn->Bgs]: $_SESSION=NULL causes "an illegal operation performed by apache" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28265@lists.php.net to get a copy of this message | ||
ID: 21163
Updated by: nicos@php.net
Reported By: docent@lanparty.lv
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: Windows XP
PHP Version: 4.2.3
New Comment:
Superglobals are arrays and need to stay like that.
If you want to empty them just $_SESSION = array();
Previous Comments:
------------------------------------------------------------------------
[2002-12-23 05:05:46] docent@lanparty.lv
Assigning to $_SESSION superglobal a NULL value causes Apache running
on Windows XP to show the "This programm has performed an illegal
operation" message. The interesting thing is that this problem exists
only when $_SESSION already contains a non-NULL variable, assigning
NULL to an "empty" $_SESSION doesn't show up this issue.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21163&edit=1