Re: [PHP] strange behaviour of unset()

2002-07-08 Thread John Legg
CTED]> Sent: Monday, July 08, 2002 7:47 AM Subject: [PHP] strange behaviour of unset() > Hi everybody! > > I just switched from 4.0.6 to 4.2.1 (register_globals is ON) and I noticed > that unset() is not working properly. Specifically, if I use "unset($a)" in > a pag

[PHP] strange behaviour of unset()

2002-07-07 Thread Liviu Andrei
Hi everybody! I just switched from 4.0.6 to 4.2.1 (register_globals is ON) and I noticed that unset() is not working properly. Specifically, if I use "unset($a)" in a page, $a becomes not set in THAT page, but for the next pages (using sessions) $a gets back at its value. Here is the sample: