Possible duplicate:
'AND' vs '& &' as operator
Sorry for the very simple question, but I started learning PHP just a week ago and could not find the answer to this question in google / stackoverflow.
I went through the program below:
$one = true; $two = null; $a = isset($one) && isset($two); $b = isset($one) and isset($two); echo $a.'<br>'; echo $b;
His conclusion:
false true
I read & / and the same. How is the result different for both? Can anyone explain the true reason?
source share