- print_r: documentation ( source)
- json_encode: documentation ( source)
<?php
$render = array(
'Grille Material' => array(
'Powder-coated stainless steel'
),
'Environmental Specifications' => array(
'Maximum Heat' => '+175¡F (+79¡C)',
'Maximum Cold' => '-30¡F (-34¡C)',
'Maximum Humidity' => '99% (120¡F/49¡C) - 95% (-30¡F/-34¡C)'
),
'These speakers meet or exceed the following' => array(
'Salt Spray' => '',
'UV Test' => 'ASTM-G23H',
'IEC/CEE Water Splashing Test' => 'IP-X4',
'Vibration Test' => 'ASTM D5112-98 and ASTM D3580-95'
),
'Limited Five (5) Year Warranty'
);
print_r( json_encode( $render ) );