array_intersect_assoc

PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
array_intersect_assoc - Computes the intersection of arrays with additional index check

Example #1 array_intersect_assoc example

Result: Array ( [a] => green )
PHP Version:


Example #2 of array_intersect_assoc

PHP Version:


Function array_intersect_assoc:

Arrays Functions

Most used PHP functions