News for hackers. Stuff that matters.
Re:PHP Commandments by jcampbell1 on Tuesday April 30, 2013 @10:43AM (#5632427)
You should install xdebug, and then var_dump will do what you want and a lot more.
Re:PHP Commandments by potatolicious on Tuesday April 30, 2013 @11:05AM (#5632563)
Isn't that just letting someone else write your helpers.php?
Re:PHP Commandments by smacktoward on Tuesday April 30, 2013 @12:30PM (#5633177)
No, it's moving debugging into a discrete, well-understood debugging package (Xdebug) rather than jumbling it together with a bunch of unrelated stuff in a big grab bag labeled "Miscellaneous".
Re:PHP Commandments by WA on Tuesday April 30, 2013 @11:38AM (#5632789)
I agree. Also, 8. (no helper functions) contradicts 1. (do the simplest thing).