railt / dumper
This package is abandoned and no longer maintained.
No replacement package was suggested.
The Railt Framework mechanism for exploring and dumping PHP variable types
1.4.x-dev
2023-09-17 16:11 UTC
Requires
- php: >=7.1.3
- symfony/var-dumper: ~3.4|~4.0|~5.0
Requires (Dev)
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2023-09-17 16:11:27 UTC
README
This package is deprecated. Please use
get_debug_type
PHP function instead.
Dumper
Note: All questions and issues please send to https://github.com/railt/railt/issues
Usage
Component for short dump types. Can be used as a display of values in exceptions or short messages without detailed disclosure of the internal structure.
<?php echo dump_type(function (string $message = 'Hello World!'): string { return $message; }); // fn((string $message = "Hello World!") -> string)
<?php echo dump_type(new ArrayIterator([1, 2, 3, 0.2])); // object(ArrayIterator#18<int|float>)