array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer