maxell: Array type überprüfen

Beitrag lesen

Hallo

wie überprüft man ob eine variable $xy ein Type Array ist oder nur eine einfache variable/string?

z.b:

$xy = array ("mensch", "tier", "gott");

if($xy...) {
echo "XY ist ein Type Array!";
} else {
echo "XY ist kein Type Array!";
}

MfG
maxell