📜  php array_intersect_assoc - PHP 代码示例

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

代码示例1
PHP function array_intersect_assoc(array $array1, array $array2, array $_ = null) string[]
-------------------------------------------------------------------------------------- 
Computes the intersection of arrays with additional index check.
  
Parameters:
array--$array1--The array with main values to check.
array--$array2--An array to compare values against.
array--$_--[optional]
Returns:an associative array containing all the values in array1 that are present in all of the arguments.