PHP Classes

PHP Debugger and Logger: Catch PHP errors and log messages

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog (2)    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 696 All time: 4,696 This week: 114Up
Version License PHP version Categories
ptc-debug 0.9.3GNU General Publi...5.3PHP 5, Debug, Logging


This class can catch PHP errors and log messages.

It can append to log files messages with values of variables and other types of messages like SQL queries.

The class can also catch fatal and non-fatal PHP errors and log them.

It can also watch a given variable and log messages when it changes.

The class can keep track of the time that elapses between each event moment.

It can also check which lines of code have been executed and trace function calls.

Picture of Carlo Pietrobattista
  Performance   Level  
Name: Carlo Pietrobattista <contact>
Classes: 5 packages by
Country: Italy Italy
Age: 44
All time rank: 121447 in Italy Italy
Week rank: 373 Up13 in Italy Italy Up

  • messages-panel.jpg
  • code-coverage.jpg
  • function-calls-trace.jpg
  • php_console_1024.png
  Files folder image Files  
File Role Description
Files folder imageexamples (1 file)
Plain text file PtcDebug.php Class Main class

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file ptcdebug-ex.php Example example file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,696
This week:114Up
User Comments (1)
10 years ago (Rahul Shambharkar)