error_log('doing code');
<p>what is the purpose of error log in php.  I am running the dredit sample php and "doing code" keeps on displaying.</p>

<p>here's the code: </p>

<pre><code>    if (isset($_GET['code'])) {
    error_log('doing code');
    /**
     * Redeemed authorization codes are stored in the session to prevent
     * accidental multiple redemption of the same code causing an exception.
     * ie, if a user refreshes their browser when a code is in the URL.
     * We need to initialize the array of redeemed authorization codes.
     */
    if (!isset($_SESSION['redeemed_codes'])) {
      $_SESSION['redeemed_codes'] = array();
    }
</code></pre>

<p>Can anyone help me on this? thanks!</p>
