vinnyfs89/x-dump
Composer 安装命令:
composer require vinnyfs89/x-dump
包简介
Simple way to debug PHP variables
README 文档
README
x-dump
x-dump means Extreme-Dump. With this repository you can debug your PHP code allowing you to have all the traceability where it was passed, enabling you to do it quickly and effectively.
Functions like x and xd are provided, for example to make debugging your code easier
by the functions , the component provides that the files that were covered so that the application reaches the function.
This code was created by members of the PHP-DF community and is open for contributions.
Requirements
- PHP 5.3^
Install
To have x-dump installed run the command below
composer require "vinnyfs89/x-dump":"dev-master"
Alternative installation
You can also clone this project directly or set in your composer.json, like this:
"require-dev": { "vinnyfs89/x-dump": "dev-master" }
How to use?
The functions x and xd differ because the "x" does not prevent the execution of the application, since the "xd" stop the application. But both do not make the details of one or more informed values.
Examples
x($param1 [, $param2, ...])
xd($param1 [, $param2, ...])
The functions x_() and xd_() do the same x() and xd() respectively, but make the details of one or more informed values using "var_dump" behind the scenes.
Examples
x_($param1 [, $param2, ...])
xd_($param1 [, $param2, ...])
😃 ⚡
References
统计信息
- 总下载量: 4.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-19
