ace / debug
There is no license information available for the latest version (dev-master) of this package.
dev-master
2016-07-16 16:39 UTC
Requires
- php: ^7.0
Requires (Dev)
This package is not auto-updated.
Last update: 2025-01-04 21:36:05 UTC
README
Dumps information about a variable.
Installation
$ composer require aceougi/dumper
Usage
dump($var); dump($var1, $var2, $var3);
Example
$example = [ 'var10' => null, 'var11' => false, 'var12' => true, 'var13' => 123, 'var14' => 9.99, 'var15' => 'Hello world!', 'var21' => [], 'var22' => [1 => 456, 789, 'end', 55.99], 'var31' => fopen(__FILE__, 'r'), 'var32' => ($tmp = fopen(__FILE__, 'r') AND fclose($tmp)) ? $tmp : $tmp, 'var41' => new stdClass(), 'var42' => new DateTime(), ]; dump($example);