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