When I echo var_dump($_variable), I get one long, wrapping line with all varable\'s and values like
[\"kt_login_user\"]=> string(8) \"teacher1\" [\"kt_lo
Use output buffers: http://php.net/manual/de/function.ob-start.php
$dump
Yet another option would be to use Output buffering and convert all the newlines in the dump to elements, e.g.
ob_start(); var_dump($_SERVER) ; echo nl2br(ob_get_clean());