📜  php array_diff_assoc - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:15.885000             🧑  作者: Mango

代码示例1
PHP function array_diff_assoc(array $array1, array $array2, array ...$_) string[]
-----------------------------------------------------------------------------
Computes the difference of arrays with additional index check.
  
Parameters:
array--$array1--The array to compare from
array--$array2--An array to compare against
array--...$_--[optional]
  
Returns: an array containing all the values from array1 that are not present in any of the other arrays.