Hm.. That's a bit too lazy for my liking.. it certainly took a lot of messing around to diagnose that type of statement as being the error cause!
I thought this might be a PHP thing, but apparently not; the same applies in C++ aswell.
Swapping the two operands to && around seems to have the desired results; in PHP and C++.
Thanks for the info.