1--TEST-- 2Test array_uintersect_assoc() function : basic functionality - testing with multiple array arguments 3--FILE-- 4<?php 5/* Prototype : array array_uintersect_assoc(array arr1, array arr2 [, array ...], callback data_compare_func) 6 * Description: U 7 * Source code: ext/standard/array.c 8 * Alias to functions: 9 */ 10 11echo "*** Testing array_uintersect_assoc() : basic functionality - testing with multiple array arguments ***\n"; 12 13include('compare_function.inc'); 14$data_compare_function = 'compare_function'; 15 16// Initialise all required variables 17$arr1 = array("one" => "one", "02" => "two", '3' => "three", "four", "0.5" => 5, 0.6 => 6, "0x7" => "seven"); 18$arr2 = array("one" => "one", "02" => "two", '3' => "three"); 19$arr3 = array("one" => "one", '3' => "three", "0.5" => 5); 20$arr4 = array("one" => "one", '3' => "three", "0.5" => 5); 21 22 23var_dump( array_uintersect_assoc($arr1, $arr2, $arr3, $arr4, $data_compare_function) ); 24 25 26?> 27===DONE=== 28--EXPECTF-- 29*** Testing array_uintersect_assoc() : basic functionality - testing with multiple array arguments *** 30array(2) { 31 ["one"]=> 32 string(3) "one" 33 [3]=> 34 string(5) "three" 35} 36===DONE=== 37