I recently discovered this interesting article by Deceze. But I\'m a bit confused by one of its advises:
never use empty or isset for variables th
What he means is if you want to check if the string is empty then empty won't do that. Empty can mean false, 0, null. Anything 'falsy'.
E.g. these are all true:
If you want to check if the string is an empty string you should do this check for '':