> are you sure it has not been deleted. If you check to see what's in it and
> it doesn't exist you'll get the answer that it contains a null value (same
> as any other non-exitsant variable). Did you do a foreach to check what is
> actually in the array?

I believe the behaviour of unset for array values changed between PHP
versions.

Check the ChangeLog to be sure.

Also, search PHP-Dev archives if you want all sorts of gory insider details
about why/when/who/what/where changed it, and maybe even a good argument, or
at least a couple flames, IIRC :-)

Meanwhile, you may want to consider upgrading if it's the older version not
behaving like you want...

I do think that in at least one version, you get NULL back if you ask for it
by key, but it won't show up in a foreach or each...  But we're now getting
way too specific to trust my memory.  I'm a big-picture guy.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to