snipt

Ctrl+h for KB shortcuts

Text only

PHP show errors

ini_set('error_reporting', E_ALL);

Description

show error with this statement instead of using php_ini
https://snipt.net/embed/02e786ea58bc9677b2518c6307f58945/
/raw/02e786ea58bc9677b2518c6307f58945/
02e786ea58bc9677b2518c6307f58945
text
Text only
1
2019-08-17T08:33:42
True
False
False
Feb 25, 2014 at 04:34 AM
/api/public/snipt/116541/
php-show-errors
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>ini_set(&#39;error_reporting&#39;, E_ALL); </span></pre></div> </td></tr></table>
apache, php