Hi. Why do I get a PHP notice when I define a variable and then use it in the second part of a "&&"? $b = 2 && $b; PHP Notice: Undefined variable: b in php shell code on line 1 afterwards it is defined cweiske: this is a typical "undefined behaviour" case. Doesn't work in C as you expect either. (my actual code was: if ($client = get_client() && $client->is_active)