Check if $array is array in arrayKeyValue
Whitespace
Declare $orders to avoid error