Does php support logical (bitwise?) operators like and?
Maybe i'm doing something wrong:
$name=2;
$email=4;
$auto=$name+$email;
$temp=$auto and $email;
$temp should be 4
another example:
$name=2;
$email=4;
$place=8;
$auto=$name+$email;
$temp=$auto and $place;
$temp should be 0
yet another:
$name=2;
$email=4;
$place=8;
$auto=$name+$place;
$temp=$auto and $place;
$temp should be 8
Best regards,
Twan