<?PHP $array1 = array ( 'a' => 'PHP', 'ASP', 'Java' ); $array2 = array ( 'b' => 'PHP', 'ASP', 'C++' ); $result = array_diff ( $array1, $array2 ); while ( list ( $key, $val ) = each ( $result ) ) { echo $key . ': ' . $val . '<br>'; } ?>
1: Java