| echo will only output the current value of a variable
var_dump will output the type and value and in the case of an array will output all of the elements with their types and values.
extremely useful if you are debugging associative arrays from database data |