pretty var_dump code example Example: pretty var_dump echo '<pre>' . var_export($data, true) . '</pre>';