PHP Classes

PHS_Error: Keep track of application errors and warnings

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 386 All time: 6,689 This week: 571Up
Version License PHP version Categories
phs_error 1.33BSD License4.3.0Debug


This class can be used to keep track of application errors and warnings.

Applications can call this class to store information about errors and warnings.

The class stores in class variables backtrace information that include the PHP files, functions names and line numbers of the functions that were called to reach a point to where the errors or warnings were added.

Picture of Andrei Orghici
  Performance   Level  
Name: Andrei Orghici <contact>
Classes: 2 packages by
Country: Romania Romania
Age: 45
All time rank: 118030 in Romania Romania
Week rank: 259 Up5 in Romania Romania Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example file (run this file to see a working example)
Plain text file Class Class file
Accessible without login Plain text file example2.php Example Example file (included from example.php - don't run this file)

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,689
This week:571Up