Shortcuts to var_dump and the like
Posted by spyderboy on February 27, 2009 at 1:13am
Inspired by Dave's presentation last night, I stumbled upon a blog posting listing a few development shortcut functions:
* dpr – Shortcut for dprint_r.
* dvr – Similar to dpr, but uses var_dump instead of print_r.
* dpm – Similar to dpr but print_r's a variable as a message using drupal_set_message.
* dvm – Similar to dpm but uses var_dump instead of print_r.
The original posting can be found here: http://www.thingy-ma-jig.co.uk/blog/02-10-2007/hugely-useful-hugely-undo...
Read more