PHP Classes

Debug_class: Output values of variables

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 581 All time: 5,317 This week: 455Up
Version License PHP version Categories
debug_class 2.0Public Domain5.0PHP 5, Debug, Logging
Description 

Author

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: 134182 in Germany Germany
Week rank: 178 Up12 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:581
This week:0
All time:5,317
This week:455Up