1--TEST-- 2Test array_udiff_assoc() function : variation 3--FILE-- 4<?php 5echo "*** Testing array_udiff_assoc() : variation - testing with multiple array arguments ***\n"; 6 7include('compare_function.inc'); 8$key_compare_function = 'compare_function'; 9 10// Initialise all required variables 11$arr1 = array("one" => "one", "02" => "two", '3' => "three", "four", "0.5" => 5, 6 => 6, "seven" => "07"); 12$arr2 = array("one" => "one", "02" => "two", '3' => "three"); 13$arr3 = array("four", "0.5" => "five", 6 => 6, "seven" => 7); 14$arr4 = array("four", "0.5" => "five", 6 => 6, "seven" => 7); 15 16 17var_dump( array_udiff_assoc($arr1, $arr2, $arr3, $arr4, $key_compare_function) ); 18 19 20?> 21--EXPECT-- 22*** Testing array_udiff_assoc() : variation - testing with multiple array arguments *** 23array(2) { 24 [4]=> 25 string(4) "four" 26 ["0.5"]=> 27 int(5) 28} 29