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 This week: 1All time: 4,159 This week: 560Up
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
Age: ???
All time rank: 106625 in Romania Romania
Week rank: 411 Up12 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  
 0%
Total:834
This week:1
All time:4,159
This week:560Up
 User Ratings  
 
 All time
Utility:81%StarStarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:47%StarStarStar
Rank:3011