php and operator if code example
Example: logical operator php
OPERATOR NAME EXAMPLE
and And $x and $y
or Or $x or $y
xor Xor $x xor $y
&& And $x && $y
|| Or $x || $y
! Not !$x