Login   Register  
PHP Classes
elePHPant
Icontem

Everything is exception: Throw exceptions when PHP errors occurs

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Documentation   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-08-18 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 152 All time: 7,527 This week: 1,503Up
Version License PHP version Categories  
errors-to-exceptions 1.0GNU General Public Lice...5.3PHP 5, Language
Description Author  

This class can throw exceptions when PHP errors occurs.

It registers an error handler function so it can intercept non-fatal PHP errors and warnings.

The error handler determines the type of error and throws a different type of exception object depending on the type of PHP error that occurred.

The original error handler is stored so it can be restored later if necessary.

Picture of wapmorgan
Name: wapmorgan is available for providing paid consulting. Contact wapmorgan .
Classes: 12 packages by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 173849 in Russian Federation Russian Federation
Week rank: 103 Up3 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file autoload.php Aux. Autoloader
Accessible without login Plain text file composer.json Data Composer configuration
Accessible without login Plain text file doc.md Doc. Documentation
Plain text file ErrorsToExceptionsConverter.php Class Converter. Errors to exceptions
Plain text file exceptions.php Class Exception classes
Plain text file PhpErrorException.php Class Base class for converted errors

 Version Control Unique User Downloads Download Rankings  
 0%Total:152All time:7,527
 This week:0This week:1,503Up