faccio così:

function mia_funzione(){
return FALSE;
}
nei punti in cui può generare fatal error