insanepenguin wrote:It will also echo true booleans (1) but not false (0)
This is a common problem. If you're trying to echo out a numeric or boolean value, 0 often won't show. Since the manual page for [man]echo[/man] says that echo expects string arguments, you can't really blame PHP for this behavior.
Instead, if you want to know more information about a non-string variable, use [man]var_dump/man instead - it's more informative and will always be displayed.