PHP - Logical operators and concatenating operators in PHP