> empty测试: 0,"0","",null,false,[]都返回true ['0'],[0]返回false > isset测试 值已经被定义,但是值不为null时返回真;值为null或没有定义是返回假 > array_key_exists("name", $data) 在数组中有值,返回真