you need to use nested loops.
please forgive my untested code:
$stop = sizeof($array);
for ($1=0; $i<$stop; $i++){
for ($j=$i+1; $j<$stop; $j++){
echo $array[$i] ." vs. " .$array[$j];
}
}
Of course, it depends on what you mean by "unique". This method assumes that "A Vs B" is the same as "B Vs A" and so will only list one of these. If you want both, you need something like:
$stop = sizeof($array);
for ($1=0; $i<$stop; $i++){
for ($j=0; $j<$stop; $j++){
if ($i != $j){
echo $array[$i] ." vs. " .$array[$j];
}
}
}