This package is deprecated. Please use
get_debug_type
PHP function instead.
Note: All questions and issues please send to https://github.com/railt/railt/issues
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>)