trurlmcbyte / serpri
此包已被弃用且不再维护。未建议替代包。
SERialized smart object pretty PRInt for php
v1.4.0-stable
2016-03-01 14:38 UTC
Requires
- php: >=5.3.1
Requires (Dev)
- evert/phpdoc-md: ~0.1.1
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: 5.0.*
This package is not auto-updated.
Last update: 2024-01-03 20:49:24 UTC
README
SERialized smart object pretty PRInt for php.
用于紧凑打印交叉链接和递归对象。在HTML模式下,还可以在递归和引用对象之间创建链接。可以显示未经原始类处理的原始序列化数据。在文件模式下,对于大文件内存消耗低(通常用于流get|print)。速度快(有点凶猛)。无需任何作曲家或挥舞死鸡。
使用方法
简单方法
下载此类 wget https://raw.githubusercontent.com/TrurlMcByte/serpri/master/serpri.php
然后只需 include_once 'serpri.php';
调用示例
(new \serpri($SomeSmartObject))->process(2);
$p=new \serpri('file_with_serialized.dump'); $p->process(2);
“困难”方法
composer require trurlmcbyte/serpri