Hi,
What is the best way to determine if something is an array or an object in PHP? I get a response from a web service and it's either an array or an object depending on how many returned results there are. It is impossible to predict ahead of time how many there will be, so I need to figure out how to process it appropriately. What is the best way to do this?
TIA.