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