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

v1 2021-03-05 10:47 UTC

This package is auto-updated.

Last update: 2024-05-28 19:56:02 UTC


README

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d6e6f6e652d627269676874677265656e

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
)