How the PHP or (||) Operator Works
Actually, PHP or (||) is a logical operator used to give you a true result if one of operands is correct.
The syntax of or operator like the below .
<?php
operand_1 || operand_2
// => or
operand_1 or operand_2
?>
So when you use it with if condit...
codeweb.hashnode.dev2 min read