For testing purposes, it might be desirable to see the data contained within a Smarty variable. You can use the `print_r` function to display all the data. This is particularly valuable for variables containing a list of data.

print_r

{{$object|print_r}}

print_r

{{$products = [6351,23122,392367]}}
<pre>
   {{$products|print_r}}
</pre>


Output:
Array
(
    [0] => 6351
    [1] => 23122
    [2] => 392367
)