PHP Classes

SkyApp Debug: Output debug information with visibility HTML link

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 47%Total: 834 All time: 4,160 This week: 488Up
Version License Categories
sadebug 1.0GNU Lesser Genera...HTML, Debug


This class is meant to output debug information in a convenient way using the PHP var_dump function to display the data of variables.

The debug information is outputted in layers defined with HTML DIV tag. The user can toggle the visibility of these layers by clicking on links that are also outputted to show or hide any of the debug information sections outputted by the class.

To use the class just call SADebug::trace($variable, __FILE__, __LINE__)

This call will output a link line like this. Clicking on the link makes the browser show the var_dump function output.

:: Trace /home/andi/public_html/test.php on line 53 ::

The HTML output can be easily customized using CSS styles.

Picture of Andi TrÓnculescu
Name: Andi TrÓnculescu <contact>
Classes: 2 packages by
Country: Romania Romania
Age: ???
All time rank: 106725 in Romania Romania
Week rank: 226 Up6 in Romania Romania Up

  Files folder image Files  
File Role Description
Plain text file SADebug.php Class Class definition and implementation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,160
This week:488Up
 User Ratings  
 All time