因此,我有一个变数,我们会说加固=2美元。
if i want to check that variable for either 2 conditions I d typically do if($string == 2 || $string == "Hello world"):
Is there anyway to combine these two args into something shorter like if($string(==2 || =="hello world")):
I ve googled this but I cant come up with the right phrase to get back the answer I m looking for so explaining it at this point is the easiest.