$a = array("1"=>"A",1=>"B","C",2=>"D"); v($a); v(count($a)); $a = array(1,2,4,8); $b = array(0,2,4,6,8,10); print_r( array_merge( array_diff($a, $b), array_diff($b, $a) ) );
後面附上了答案php