Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.
/ dumper Public archive

[READ ONLY] Subtree split of the Railt Dumper component (see railt/railt)

License

Notifications You must be signed in to change notification settings

railt/dumper

Repository files navigation

Railt

Travis CI

PHP 7.1+ railt.org Discord Latest Stable Version Total Downloads License MIT

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>)

About

[READ ONLY] Subtree split of the Railt Dumper component (see railt/railt)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages