You can do this a few different ways.
To inspect the array you can
echo "<pre>"; // for readability on the browser print_r( $elementos );
To view the types of the data in the array
echo "<pre>"; // for readability on the browser var_dump( $elementos );
You could also display the array in JSON, which is useful in some scenarios:
echo json_encode( $elementos );
I hope that helps