fredericomartini / debug
A simple class to print pretty values in PHP
v0.1.0
2016-11-26 21:27 UTC
Requires
- php: >=5.5
This package is not auto-updated.
Last update: 2025-01-13 14:12:23 UTC
README
A simple class to print pretty values in PHP
Installation
There is one recommended way to install debug via Composer:
- adding the dependency to your
composer.json
file:
"require": { .. "fredericomartini/debug":"0.1.*", .. }
Simple usage
include_once 'Debug.php'; $var = array( 'value' => array( 'test' => 123 ), 'another_value' => '5555' ); \Fma\Debug::run($var);
Output
Array
(
[value] => Array
(
[test] => 123
)
[another_value] => 5555
)