title: Is not there a coding style violation on PHP: 'else die();'
body: <p>I have a computer science undergrad degree and during first year, during algorithm lessons, it is pushed into my head that i should not put <code>return</code> in any of condition branches; <code>if, else</code>.</p>
  
  <p><a href="https://stackoverflow.com/questions/2676678/in-an-if-else-statement-for-a-method-return-should-an-else-be-explicitly-stated">The question and some answers</a> support me. But there is a matter about my first PHP web site building experiment. PHP code samples on the Web tell that we 'must' use <code>else die();</code>. </p>
  
  <p>I have prepared a Web site with 'my truth in my mind' without doing all the controls to handle all possible errors without any undesirable view on the pages of Web site. The database connection have exploded, thus some smart ***es tell me that i should use <code>else die();</code>.</p>