PHP array_udiff_uassoc() functionThe array_udiff_uassoc( ) function is an inbuilt function of PHP. The array_udiff_uassoc( ) function compares two or more arrays in two user-made functions, and returns an array containing the elements from the first array. This function was introduced in PHP 5.0. SyntaxParameters
Return ValuesThe array_udiff_uassoc( ) function returns an array containing all the values from array1 that are not present in any of the other arguments. Example 1Output: Array ( [c] => vivo ) Example 2Output: Array ( [c] =>virat ) Example 3Output: Array ( [c] =>ndtv ) Example 4Output: Array ( [m] => C [n] => Java [o] => C# [y] => python )
Next TopicPHP Array Functions
|