Bug #15276: Error with unset();

From: Date: Tue, 29 Jan 2002 15:07:45 +0000
Subject: Bug #15276: Error with unset();
Groups: php.dev 
Request: Send a blank email to php-dev+get-78444@lists.php.net to get a copy of this message
From: vvtk@stealthcomp.com Operating system: RedHat 7.1 PHP version: 4.1.1 PHP Bug Type: Session related Bug description: Error with unset(); Simple Script: <? session_id("TESTSESSION"); session_start(); session_register("TEXN_ARRAY"); echo $TEXN_ARRAY."<BR>"; unset($TEXNS_ARRAY); $TEXN_ARRAY = "Value 1"; echo $TEXN_ARRAY."<BR>"; ?> After execution we have: Value 1 Change line 7 to $TEXN_ARRAY = "Value 2"; After execution we have: Value 1 Value 2 Change line 7 to $TEXN_ARRAY = "Value 3"; After execution we have: Value 1 <-!!!!!!!!!!!! We expected Value 2 !!! Value 3 -- Edit bug report at: http://bugs.php.net/?id=15276&edit=1

« previous php.dev (#78444) next »