定制 provolik/debugvar 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

provolik/debugvar

Composer 安装命令:

composer require provolik/debugvar

包简介

Debugvar is a PHP library to debug variables.

README 文档

README

How many time did you write:

echo '<pre>';
print_r($array);
echo '</pre>';

I am quite sure you know what I mean. So I created the debugVar function.

Installation

You can install it using composer from command line:

composer require provolik/debugvar

How to use

If you want know the content of your var, simply put it in the function, like this:

debugvar($variables);

You can pass to it how many vars you want:

debugvar($var1, $var2, $var3, $var4);

Often you need to show the var and then call a die:

debugvar_die($variables);

In other circumstances, for example in production environment, you need to print a var in hide mode:

debugvar_hide($variables);

And that's all.

统计信息

  • 总下载量: 63
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-04-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固