What value will var_dump show that echo will not show?
You cannot echo an array
if you do so it will just print data type
not the data, you can use var_dump
to print complete structure and data of an array
.
$array = array(1,2,3);
echo $array; //<----only print the data type
var_dump($array) //<-----print the complete structure
solved What value will var_dump show that echo will not show? [duplicate]