array_uintersect_uassoc データと添字の比較に個別のコールバック関数を用い、 追加された添字の確認も含めて配列の共通項を計算する &reftitle.description; arrayarray_uintersect_uassoc arrayarray1 arrayarrays callablevalue_compare_func callablekey_compare_func データと添字の比較にそれぞれ別のコールバック関数を用い、 追加された添字の確認も含めて配列の共通項を計算します。 &reftitle.parameters; array1 最初の配列。 arrays 残りの配列。 value_compare_func &sort.callback.description; &sort.callback.description.presort; key_compare_func キーの比較用のコールバック関数。 &reftitle.returnvalues; 全ての引数に現れる array1 の全ての値を含む配列を返します。 &reftitle.examples; <function>array_uintersect_uassoc</function> の例 "green", "b" => "brown", "c" => "blue", "red"); $array2 = array("a" => "GREEN", "B" => "brown", "yellow", "red"); print_r(array_uintersect_uassoc($array1, $array2, "strcasecmp", "strcasecmp")); ?> ]]> &example.outputs; green [b] => brown ) ]]> &reftitle.seealso; array_uintersect array_intersect_assoc array_intersect_uassoc array_uintersect_assoc