Archive for March, 2008

Array_diff_assoc and array_diff_key Functions

Saturday, March 1st, 2008

The next array comparison functions is the array_diff_assoc(array1,array2,array3,array3.....), usage is similar with all of these array_diff functions varying only in the way the comparisons are done. Below is sample code for array_diff_assoc: Giving you : Array ([0] => Mouse [2] => Dog). Next we have the array_diff_key() function compares two or more ...