How do you routinely check that an array is empty?
This is really a matter of taste, as all these checks are equivalent, except for the empty()
call that would let an undefined variable go unnoticed!
This is really a matter of taste, as all these checks are equivalent, except for the empty()
call that would let an undefined variable go unnoticed!