Login   Register  
PHP Classes
elePHPant
Icontem

SkyApp Debug: Output debug information with visibility HTML link

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (10 years ago) RSS 2.0 feedStarStarStar 47%Total: 829 All time: 3,865 This week: 1,547Up
Version License Categories  
sadebug 1.0GNU Lesser General Publ...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: 96921 in Romania Romania
Week rank: 1580 Down35 in Romania Romania Down

  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:829All time:3,865
 This week:0This week:1,547Up
 User Ratings  
 
 All time
Utility:81%StarStarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:47%StarStarStar
Rank:1787