我有 2 个数组,第二个数组必须包含第一个数组中的所有元素,如何检查?谢谢
For example
array 1: Array ( [0] => Email [1] => 1_Name )
array 2: Array ( [0] => 1_Name [1] => )
In this case it is invalid , as array 2 do not have Email
array 1: Array ( [0] => Email [1] => 1_Name )
array 2: Array ( [0] => 1_Name [1] => Address [2]=> Email )
In this case it is valid