It's called short-circuit evaluation:
http://en.wikipedia.org/wiki/Short-circuit_evaluation