print_r php pretty code example Example: php pretty print print("<pre>".print_r($array_data,true)."</pre>");