trurlmcbyte/serpri

此包已被弃用且不再维护。未建议替代包。

SERialized smart object pretty PRInt for php

安装: 39

依赖: 0

建议者: 0

安全: 0

星标: 1

关注者: 2

分支: 0

开放问题: 1

类型:

v1.4.0-stable 2016-03-01 14:38 UTC

README

Build Status

Latest Stable Version Total Downloads Latest Unstable Version License

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

文档

文档