PHP array_uintersect_assoc() functionThe array_uintersect_assoc( ) function is an inbuilt function of PHP. The array_uintesect_assoc() function compares two or more arrays, and then returns an array containing the elements from the first array. This function was introduced in PHP 5.0. SyntaxParameter
ReturnsThe array_uintersect_assoc( ) function returns an array containing the entries from array1 that are present in all the arguments. Example 1Output: Array ( [a] =>php ) Example 2Output: Array ( [a] => dell ) Example 3Output: Array ( [a] => Apple ) Example 4Output: Array ( [a] => Java [d] =>php )
Next TopicPHP Array Functions
|