I'd go with the third option:
if ( !isset($var) ) {
Here's why:
- It's easy to read
- It separates the condition from the
if
brackets making it less confusing - I don't know... personal preference?
It boils down to this: use whatever style you're comfortable with. There's no best.