Linux 软件免费装
Banner图

PCo Kint

开发者 PeytzCo
Compute
更新时间 2015年10月28日 21:13
PHP版本: 3.5 及以上
WordPress版本: 4.3
版权: GPLv2 or later
版权网址: 版权信息

标签

debug krumo print_r var_dump kint

下载

1.0.0 1.0.10 1.0.2 1.0.6

详情介绍:

PCo-Kint is a simple WordPress plugin wrapper for kint, a pretty replacement for var_dump(), print_r() and debug_backtrace(). Kint is also a great replacement to Krumo! Simply use the d() function to output your objects or arrays, or use ddd() if you want to terminate the current script. A great alternative to echo'<pre>';var_dump($var);die;! A full list of features can be found on the project page: http://raveren.github.io/kint/ Contribute to this project on github or find all of our favorite and custom made plugins

安装:

  1. Add the plugin by either downloading the folder and uploading it to the wp-content/plugins directory or install it from the Control Panel using Plugins->Add New.
  2. Activate PCo Kint from the Plugins menu using Plugins->Installed Plugins.
  3. Use d( array() ) to ensure that the plugin is working.

屏幕截图:

  • A simple output of `d( $_SERVER )`
  • Some variable content types have an alternative display - for example you will be able see JSON in its raw form - but also as an associative array
  • CLI is detected and formatted for automatically, the output is colored too

更新日志:

https://github.com/raveren/kint/releases