is there a shorthand version of checking if numerous variables have the same value please ?
instead of :-
if ($a="valid") {do stuff;} if ($b="valid") {do stuff;} if ($c="valid") {do stuff;} if ($d="valid") {do stuff;} is there something like:-
if ($a or $b or $c or $d = "valid") {do stuff;}