JosephLenton / PHP-Error

Better error reporting for PHP, and prettier too!
1.35k stars 151 forks source link

Only Catches First Error? #83

Closed AshotN closed 10 years ago

AshotN commented 10 years ago

I hate a strange problem, basically if I make a error in my code it will catch it, but if I make two mistakes the default PHP error handler takes over... here see for yourself

http://hego555.no-ip.org/a/ <?php // place at start of site require( 'php_error.php' ); \php_error\reportErrors();

a ?>

http://hego555.no-ip.org/b/ <?php // place at start of site require( 'php_error.php' ); \php_error\reportErrors();

a a ?>

My PHP Info! http://hego555.no-ip.org/phpinfo.php

Can someone explain what I'm doing wrong?