dev-master
9999999-devPHP version of ColdFusion's cfdump. Outputs colored and structured tabular variable information.
GPL-3.0
The Requires
- php >=5.3.0
by Cody Erekson
Wallogit.com
2017 © Pedro PelĂĄez
PHP version of ColdFusion's cfdump. Outputs colored and structured tabular variable information.
This is my fork of ospinto's dBug class. Original here: https://github.com/ospinto/dBug, (*1)
composer require chillem/dbug
require(__DIR__ . '/vendor/autoload.php'); new dBug($myVariable);
In my projects, I wrap the class instantiation with something like the following, which allows for passing in multiple arguments., (*2)
if ( !function_exists('ddd') ){
function ddd(... $args)
{
foreach ($args as $x) {
new \dBug\dBug($x);
}
}
}
ddd($a, $b, $arr);
More examples at http://dbug.ospinto.com/examples.php, (*3)
PHP version of ColdFusionâs cfdump., (*4)
Outputs colored and structured tabular variable information., (*5)
Variable types supported are: Arrays, Classes/Objects, Database and XML Resources., (*6)
Ability to force certain types of output. Example: You can force an object variable to be outputted as an array type variable., (*7)
Stylesheet can be easily edited., (*8)
Table cells can be expanded and collapsed., (*9)
Itâs FREE!!!, (*10)
1.2.3, (*11)
Handling for closures, (*12)
Generate PHPDoc, (*13)
1.2.2, (*14)
Use modern constructor, (*15)
1.2.1, (*16)
Move dBug.php to src/ directory to comply with PSR4 autoloading standards, (*17)
Create dBug/ namespace, (*18)
PHP version of ColdFusion's cfdump. Outputs colored and structured tabular variable information.
GPL-3.0