https://github.com/greenstack/phprintr
Simply reads an input file with a PHP array or object printed out with print_r($var, true) and formats it to be easier to read.
https://github.com/greenstack/phprintr
Last synced: about 1 year ago
JSON representation
Simply reads an input file with a PHP array or object printed out with print_r($var, true) and formats it to be easier to read.
- Host: GitHub
- URL: https://github.com/greenstack/phprintr
- Owner: greenstack
- Created: 2017-01-26T21:31:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-22T15:05:16.000Z (over 6 years ago)
- Last Synced: 2025-01-12T10:13:17.664Z (about 1 year ago)
- Language: C++
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHPrintrFormatter
Simply reads an input file with a PHP array or object printed out with print_r($var, true) and formats it to be easier to read.
You have two flags available:
- --color (-c): Colors each indented line to help visualize the structure of the array/object further.
- --file (-f): By entering a file name after this flag, the formatted array will be written to a file. This overrides --color.