foreach
foreach copied to clipboard
check object type before for loop
For #16
Check "Array" and "String" types before for loop