函数:array_key_exists()写法:array_key_exists(需要判定的键名,数组)实例: $a = ['nnn'=>'ddd','mmm'=>'fff']; $b = array_key_exists('nnn',$a);