Commiting after creating foreach loop to tell what kind each element in $things is.
Commiting after second question. Created a foreach that loops through $things array and echoed only the values that are scalar
Added code to create another foreach array that showed the value of each element. regardless of type.