function array_eq_ident($arr1, $arr2) {
printf("The two arrays are %sequal.
\n", $arr1 == $arr2 ? '' : 'not ');
printf("The two arrays are %sidentical.
\n", $arr1 === $arr2 ? '' : 'not ');
}
$dogs = array('A' => 'C', 'B' => 'D', 'X' => 'Z', 'Q' => 'T');
$pups = array('A' => 'C', 'B' => 'D', 'X' => 'Z', 'Q' => 'T');
array_eq_ident($dogs, $pups);
?>