// use the builtin php function print_r or var_dump: $stuff = array(1,2,3); print_r($stuff); $stuff = array(3,4,5); var_dump($stuff);