Chris Weiss a écrit :
> On 6/10/07, Sigurd Nes <[EMAIL PROTECTED]> wrote:
>> Hi,
>> if (isset($array['key']) && $array['key'])
>
> what if it's value evaluates to false?
> I do agree that it needs more than just isset() though.
>
>
valid from php 4.0.7 :

if ( @is_array($array) && |array_key_exists('key', $array))


|my 2 cents

-- 
In a world without walls or fences, there would be no need for windows or 
gates...



_______________________________________________
phpGroupWare-developers mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers

Reply via email to