dnd (function)

Purpose:

Provides a formatted var_dump of a variable and kills the page

See Also:

dump (function)

Example:

dnd($db->errorString);

Data Type(s):

Any

Location:

users/helpers/helpers.php

Details:

Simply adds pre tags around each item in the var_dump for better formatting and clearer results.
The best use for this is during debugging or right before a redirect when you want PHP to stop executing.