【文件属性】:
文件名称:dumpling:非常简单的 PHP 对象转储器
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-22 09:35:21
PHP
饺子
用于生成变量转储的小实用程序。 当使用复杂的对象图时,PHP 的内置 print_r 会出问题。 默认情况下,它还直接输出到 stdout。
最初基于这里的代码: : 。 为作曲家时代包装和包装。
用法
饺子
>> echo Dumpling::d($cyclical_line_point_object);
Dumpling\Tests\Line Object (
[points] => Array (
[0] => Dumpling\Tests\Point Object (
[x] => 5
[y] => 10
[line] => Nested Dumpling\Tests\Line Object
)
)
)
>> echo Dumpling::d(arr
【文件预览】:
dumpling-master
----src()
--------Dumpling.php(4KB)
----composer.lock(15KB)
----LICENSE.md(1KB)
----README.md(1KB)
----tests()
--------DumplingTest.php(2KB)
----.gitignore(7B)
----composer.json(415B)