SyntaxFix
Write A Post
Hire A Developer
Questions
If you're asking when you should use what, I generally use print_r() for displaying values and var_dump() for when having issues with variable types.
print_r()
var_dump()