title: PHP - exit or die() in AJAX requests?
body: <p>What's the best practice here? Using die() or exit()? What's the difference between the two?</p>
  
  <pre><code>if($_GET['do_thing']):
    echo 'bla bla';
    exit(); // or die(), or something else?
  endif;
  </code></pre>