Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum (1) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 270 | All time: 7,596 This week: 265![]() |
Version | License | PHP version | Categories | |||
u4u-debug-info 1.0 | BSD License | 5.3.0 | PHP 5, Debug |
Description | Author | ||||||||
This class can output information about variables and other data. |
|
debugInfo.class.php ====== Credits -------- This class is made by unreal4u (Camilo Sperberg). [http://unreal4u.com/](unreal4u.com). 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 ---------- <pre>include('debugInfo.class.php'); debug($variable); </pre> * Congratulations! You have just printed something to your screen! * **Please see documentation folder for more options and advanced usage** Version History ---------- * 0.1 : * Original class * 0.2 : * 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 Contact the author ------- * Twitter: [@unreal4u](http://twitter.com/unreal4u) * Website: [http://unreal4u.com/](http://unreal4u.com/) * Github: [http://www.github.com/unreal4u](http://www.github.com/unreal4u) |
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data |
![]() |
/ | examples |
File | Role | Description |
---|---|---|
![]() ![]() |
Example | Example script |
![]() ![]() |
Example | Example script |
![]() ![]() |
Example | Example script |
![]() |
/ | src | / | unreal4u |
File | Role | Description |
---|---|---|
![]() ![]() |
Aux. | Auxiliary script |
![]() ![]() |
Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
Class on GitHub Class on GitHub |