Access current running script error log
<p>Is it possible to capture all of the PHP errors that occur during a site execution, save them to a variable and print them out into a javascript section to print?</p>

<p>i.e.</p>

<p>
