library debug-info
This class is a collection of functions that aids in debugging your application
unreal4u/debug-info
This class is a collection of functions that aids in debugging your application
- Monday, March 10, 2014
- by unreal4u
- Repository
- 1 Watchers
- 0 Stars
- 60 Installations
- PHP
- 2 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
debugInfo.class.php
Credits
This class is made by unreal4u (Camilo Sperberg). http://unreal4u.com/., (*1)
About this class
- When debugging, you need sometimes to check what's in a certain variable. This class does print that information
- It will have in special consideration the type of the variable you're printing: as such it will clearly indicate whether you're printing a boolean, empty string or even null
- Printing to screen is not practical? Print it to a file instead
- Tired of triggering errors? Convert them easily to exceptions with just one function call. From now on, every error will be converted to an exception instead
- Want to know how many time or memory a functionality in your script takes? Measure several of these benchmarks easily with this class!
- Format a unix timestamp? You can also do that easily with this class!
Basic usage
include('debugInfo.class.php');
debug($variable);
- Congratulations! You have just printed something to your screen!
- Please see documentation folder for more options and advanced usage
Version History
-
0.1 :, (*2)
-
0.2 :, (*3)
- Many improvements, such as:
- General cleanup
- Code is now more consistent
- Extensively tested
- 0.3 :
- Changed defaults to a much better representation
- More checks for debugFirePHP
- 1.0 :
- Integrated old class "benchmark" into this one
- Some minor bug fixes
- 2.0 :
- Compatible with composer
- Refined auto-format output
dev-master
9999999-dev
This class is a collection of functions that aids in debugging your application
Sources
Download
MIT
The Requires
v2.0.1
2.0.1.0
This class is a collection of functions that aids in debugging your application
Sources
Download
MIT
The Requires
v2.0.0
2.0.0.0
This class is a collection of functions that aids in debugging your application
Sources
Download
MIT
The Requires