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

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/webmakersjaap/wtf

v1 2021-03-05 10:47 UTC

This package is auto-updated.

Last update: 2025-12-28 23:21:27 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
)