Re: array_change_key_case()? key_exists()?

From: Date: Mon, 12 Nov 2001 15:05:54 +0000
Subject: Re: array_change_key_case()? key_exists()?
References: 1 2  Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-70245@lists.php.net to get a copy of this message
On Sun, 11 Nov 2001, Jeroen van Wolffelaar wrote: > Okay, to the discussion itself: > > (array_)key_exists: As Andi said, there is a reason why isset behaves > like it behaves now. IMO, I see two possibilities: > (a): if that reason isn't valid anymore, let's fix isset in stead of > adding another function Please enlighten me on how you can modify isset() to distinguish between a case where an array has NULL value under a certain, and where that key does not even exist in the array. > (b): if it IS valid, then why would key_exists be useful and good, IMO > key_exists should follow isset(), rendering it superflueous. See above. -Andrei * http://www.zend.com/comm_person.php?id=24 *

« previous php.dev (#70245) next »