When there is an if statement like:
if (var1 == "test" || var2 == "test")
will PHP stop testing when var1 is already tested true and therefore not test var2? I know C# doesn't but im not too sure about PHP
When there is an if statement like:
if (var1 == "test" || var2 == "test")
will PHP stop testing when var1 is already tested true and therefore not test var2? I know C# doesn't but im not too sure about PHP
Only if the specific operators short-circuit, which the boolean operators do.