To get Structured data using print_r statement

To get structured data while printing a variable in php, first print a “pre” statement: Then print variable.
echo “<pre>”;
print_r($var);