Kint use, Simple introduction
is a simple and powerful PHP debugging tool.
What is 1.kint?
Kint is a way to show PHP debugging data in absolute appoints new chief identifying.
In other words, it can take Var_dump (), Debug_blicktrace ().
Very easy to use, a must-have tool for PHP developers.
2. Here's how to use this, let's go!
Easy to install and use
<?php require '/kint/kint.class.php '; Kint::d UMP ($_server); Can be simpler to use D ($_server);? >
3. Quick Start
<?php require '/kint/kint.class.php ';
and d ($_server); Die, same! //See Trace:kint::trace ();
Add a parameter 1 to see what results. Kint::d UMP (1); To disable all output kint::enabled (false); Further calls, this one included, won't yield any output d (' Get off my lawn! '); No effect?>
4. See the Code
<?php require_once ("./kint0.9/kint.class.php"); D ("1"); Kint::trace (); D (1); Kint::d UMP (1); Kint::enabled (false); D (' Get off my lawn! ')? >
The browser is displayed
After the kint::enabled (false);
D (' Get off my lawn! '); Failure.
Well, believe it all already know, Kint is so simple and look at the beauty of a debug tool.
Kint Source
PHP Debugging Tool "Kint"