PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2004-03-16 (12 years ago) RSS 2.0 feedStarStarStar 47%Total: 830 All time: 4,007 This week: 1,238Up
Version License Categories
sadebug 1.0GNU Lesser Genera...HTML, Debug
Description Author

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

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:830
This week:0
All time:4,007
This week:1,238Up
 User Ratings  
 
 All time
Utility:81%StarStarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:47%StarStarStar
Rank:2262