Du willst das die werte des ersten Arrays gleich dem des 2. sind? Vielleicht gibt es dazu eine Funktion, allerdings kannst du das doch auch mit einer Schleife lösen.
PHP-Code:
<?php
$a = array('a', 'b', 'c');
$b = array('a', 'b', 'c');
$bool = true;
for ($i = 0, $j = 0; $i < count($a), $j < count($b); ++$i, ++$j)
{
if ($a[$i] != $b[$j])
{
$bool = false;
break;
}
}
if (!$bool)
{
echo 'Die Arrays sind nicht gleich!';
}
?>
EDIT: Ich dachte du willst das ganze Array auf einmal vergleichen
MfG CSS