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

Maintainers

Package info

github.com/WebmakersJaap/wtf

Homepage

pkg:composer/webmakersjaap/wtf

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1 2021-03-05 10:47 UTC

This package is auto-updated.

Last update: 2026-02-28 23:43:46 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
)