At 16:46 3/5/2001, Andi Gutmans wrote:
>> > By the way, what happened to that array_defined() or whatever function
>> > which was added? Didn't we say it should be nuked? isset() and empty() are
>> > enough IMO especially as NULL is used as undefined.
>>
>>key_exists(), you mean? I didn't put it in, and as far as I know it's
>>still there.
>
>I'd really like to nuke it.

Without commenting on whether it should be nuked or not, there's no way to 
implement this functionality with isset() and empty().  Neither of these 
constructs can be used to figure out whether an element exists and is 
null.  Whether or not this should be detectable is a different issue...

Zeev


-- 
PHP Development 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