PHP Classes

SkyApp Debug: Output debug information with visibility HTML link

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
StarStarStar 47%Total: 834 All time: 4,160 This week: 488Up
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: 106725 in Romania Romania
Week rank: 170 Up4 in Romania Romania Up

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

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:834
This week:0
All time:4,160
This week:488Up
 User Ratings  
 
 All time
Utility:81%StarStarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:47%StarStarStar
Rank:3057