改行を含む文字列を配列へ - Qiita

対象文字列 $str = "a b c d e " って感じの文字列を 処理結果 array(5) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> string(1) "c" [3]=>...