error_reporting not work correctly to show fatal errors
<p>i have a page simply like this:  </p>

<pre><code>error_reporting(-1);
require('test.txt');
</code></pre>

<p>i know that test.txt not exists .i want to try <strong>error_reporting()</strong> function.
in this case that we pass number <strong>-1</strong> to function all error reported correctly like this:</p>

<pre><code>Warning: require(test.txt) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\PHP_Class\session_5\errors.php on line 11
Fatal error: require() [function.require]: Failed opening required 'test.txt' (include_path='.;C:\php\pear') in C:\wamp\www\PHP_Class\session_5\errors.php on line 11  
</code></pre>

<p>and when we pass number <strong>2</strong> to function <strong>like error_reporting(2)</strong> only E_WARNING error reported and this is correct too:</p>

<pre><code>Warning: require(test.txt) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\PHP_Class\session_5\errors.php on line 11  
</code></pre>

<p>but when i pass number <strong>1</strong> to function like <strong>error_reporting(1)</strong> for report E_ERROR errors only , no error display. 
what is problem? please tell me</p>
