PHP Debugging Tool "Kint"

Source: Internet
Author: User

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"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.