Php Get Attribute From Array To Hashmap Interview