PHP Classes

Debug_class: Output values of variables

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: 581 All time: 5,313 This week: 455Up
Version License PHP version Categories
debug_class 2.0Public Domain5.0PHP 5, Debug, Logging


This class can be used to output values of variables.

It can take a list of variable values as arguments and outputs their values to the current page output.

The outputted values is followed by a backtrace of where the debug function was called, the current script memory usage and the current time.

The class can also output the variable values and exit immediately.

The debug output can be redirected to the PHP error log.

Picture of Christian
Name: Christian <contact>
Classes: 4 packages by
Country: Germany Germany
Age: 41
All time rank: 133982 in Germany Germany
Week rank: 311 Up15 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file Debug.php Class Debug class
Accessible without login Plain text file example.php Example Example call
Accessible without login Plain text file example_output.txt Output sample output

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,313
This week:455Up