print_r doesn't indicate such niceties as referenced variables etc. while var_dump does. I also added a couple of missing {}.

Thanks :)
-K

CommentFileSizeAuthor
devel.patch.txt1.18 KBZen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Zen’s picture

Title: User var_dump instead of print_r » Use var_dump instead of print_r
moshe weitzman’s picture

var_dump() is a also a bit wordy in some cases. anyone have an opinion on this?

moshe weitzman’s picture

Status: Needs review » Fixed

added new functions dvr() and dvm() which are analogous to dpr() and dsm().

Anonymous’s picture

Status: Fixed » Closed (fixed)