why do I see the output of error_log but not die in PHP?
<p>I noticed that when I issue a <em>die</em> statement in php, it's output doesn't appear on the error log (If i put an error_log statement right beside it it shows fine though).</p>

<p>I tried everything.. Here are the settings I did to make sure I see all my error logs:</p>

<p><strong>php.ini</strong>:</p>

<pre><code>error_reporting  =  E_ALL
display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
error_log = /Applications/XAMPP/logs/error_log
</code></pre>

<p><strong>httpd.conf:</strong></p>

<pre><code>php_value error_log /Applications/XAMPP/logs/error_log
</code></pre>

<p>i even set up an <strong>.htaccess</strong> file in the root directory of one of my virtual hosts:</p>

<pre><code>php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag  log_errors on
php_value error_log /Applications/XAMPP/logs/error_log
</code></pre>

<p>but then every time I reach a statement like this in the code:
die("I love Prestashop");</p>

<p>the code just dies without any output..  any ideas guys?</p>

<p>I got the site running on my localhost using XAMPP and I'm running a Prestashop website, with PHP 5.3.1</p>
