How to get all elements with var_dump?

php

Solution

try

echo '<pre>';
print_r($your_array);
echo '</pre>';

This will not show you type/size of the array elements as var_dump but will show you full array.

Problem

How do I get all of elements with `var_dump`? I have a huge array but `var_dump` prints only the first x elemets, and I need all of them to check if my sql is correct.

Original source

Related problems