sunhao fe08a6fbcc 初始 | 5 years ago | |
---|---|---|
.. | ||
Caster | 5 years ago | |
Cloner | 5 years ago | |
Dumper | 5 years ago | |
Exception | 5 years ago | |
Resources | 5 years ago | |
Tests | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
VarDumper.php | 5 years ago | |
composer.json | 5 years ago | |
phpunit.xml.dist | 5 years ago |
This component provides a mechanism that allows exploring then dumping any PHP variable.
It handles scalars, objects and resources properly, taking hard and soft references into account. More than being immune to infinite recursion problems, it allows dumping where references link to each other. It explores recursive structures using a breadth-first algorithm.
The component exposes all the parts involved in the different steps of cloning then dumping a PHP variable, while applying size limits and having specialized output formats and methods.