I have this if statement that tests for the 2 conditions below. The second one is a function goodToGo() so I want to call it unless the first condi
if
goodToGo()
Yes, the 2 code blocks you gave are equivalent. PHP has short-circuiting, so when you use || and &&, any statement after the first only gets evaluated when necessary.