NYCPHP Meetup

[nycphp-talk] Is @$arr['key'] ok?

Michael B Allen ioplex at gmail.com
Sat Mar 8 18:32:09 EST 2008


Is there any preference for:

$val = isset($arr['key']) ? $arr['key'] : null;

vs:

$val = @$arr['key'];

?

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/



More information about the talk mailing list