To "jump out of a function" use return. It's a good idea to return "something" like: return 1 or return null or return false to indicate why the return occurred.
use break for conditions.
you can use die() as an alternate to exit so it's msgs get logged. but die will do exactly what exit does: just quit without doing anything else :-)
-sridhar