quote:
Originally posted by Stigmata
I normally use (!$variable)?
or is this bad practice?
It totally depends of what you want to do with it. If you're working with arrays which may be empty or strings which may equal "0", you're better off with empty(). In normal cases however,
(!$variable) will do just fine.