What is difference between print_r and var_dump in PHP?

Submitted by Anonymous (not verified) on Mon, 04/26/2010 - 10:13

I am curious and wanna know what is the difference between these functions: print_r and var_dump? I can view content of an array with both function and content of a class as well.