What is wrong with `explode("\n", $output)` ?