`foreach` is not execute only when you pass the `NULL` , if you pass an empty array or and empty string it will executed at least one time