This one just came up: How do I break out of an if statement? I have a long if statement, but there is one situation where I can break out of it early on.
if
In
You could put the rest of your if block inside another if statement, like this:
if (some_condition) { blah, blah, blah if (!$some_other_condition) { blah, blah, blah ... } }