<?php $text = "one\ntwo\r\nthree\rfour\r\n\nfive"; var_export(preg_split('~\R~', $text));
You have javascript disabled. You will not be able to edit any code.