Arrays and objects can not be used as array keys.

http://www.php.net/manual/en/language.types.array.php