The best debugging function ever. Quick, small and always usefull.

v1 2021-03-05 10:47 UTC

This package is auto-updated.

Last update: 2025-05-28 22:06:29 UTC


README

The best debugging function ever. Quick, small and always usefull.

Prints everything to browser, formatted

Multiple arguments possible of any kind

Example 1:

wtf('foo');

Prints:

string(3) "foo"

Example 2:

wtf(['bar'], ['foo'=>'bar']);

Prints:

Array
(
    [0] => bar
)
Array
(
    [foo] => bar
)