[PHP] unset($array[value]) does not work?

2002-06-12 Thread Leon Mergen
Hello, I am currently testing out some things with removing elements from arrays, and I find it strange that the following statement does not work for me: unset($array['element']) I wrote a little test script, you can see the source at http://www.antrophia.com/test.txt and the executable at

RE: [PHP] unset($array[value]) does not work?

2002-06-12 Thread Lazor, Ed
It is working. The last two tests you were running weren't actually the same, which was confusing your testing results. I've altered the code a little for ease of testing. It's included below. -Original Message- You will see that $unserialized['foo'] still exists! Can anyone explain