Answers for "and and or logical operators php"

PHP
1

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
Posted by: Guest on April-22-2021
1

and php

$a and $b	And	true if both $a and $b are true.
$a or $b	Or	true if either $a or $b is true.
$a xor $b	Xor	true if either $a or $b is true, but not both.
! $a	Not	true if $a is not true.
$a && $b	And	true if both $a and $b are true.
$a || $b	Or	true if either $a or $b is true.
Posted by: Guest on December-22-2021

Code answers related to "and and or logical operators php"

Browse Popular Code Answers by Language