【文件属性】:
文件名称:php-debughelper:PHP调试助手
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-18 09:34:29
PHP
关于
安装
与作曲家一起
composer require martinlindhe/php-debughelper
或手动添加到composer.json:
{
" require " : {
" martinlindhe/php-debughelper " : " ~0.1 "
}
}
十六进制打印机
use DebugHelper \ HexPrinter ;
echo HexPrinter :: render ( "\xF0\xFF\x00" );
将输出类似
000000: f0 ff 00 ...
二进制打印机
use DebugHelper \ BinaryPrinter ;
echo BinaryPrinter :: render ( "\xF0\
【文件预览】:
php-debughelper-master
----src()
--------Measure.php(407B)
--------HexPrinter.php(1KB)
--------Logger.php(2KB)
--------helpers.php(5KB)
--------BinaryPrinter.php(1KB)
--------Stopwatch.php(1KB)
----examples()
--------ex-stopwatch.php(234B)
--------ex-d.php(89B)
--------ex-nfo.php(161B)
----.travis.yml(223B)
----test()
--------helpersTest.php(1KB)
--------StopwatchTest.php(545B)
--------BinaryPrinterTest.php(280B)
--------HexPrinterTest.php(498B)
----LICENSE.md(1KB)
----phpunit.xml(590B)
----README.md(1KB)
----.gitignore(27B)
----composer.json(557B)