php split large text on line breaks into array

Solutions on MaxInterview for php split large text on line breaks into array by the best coders in the world

showing results for - "php split large text on line breaks into array"
Gabriel
26 Sep 2016
1#1
2$arr=explode("\n",$text);
3
4#2
5$arr=explode("<br>",nl2br($text));
similar questions