<?php $sentence = "My\nString\r\nIs here\rHeh"; print_r( preg_split('/\R/', $sentence) );
You have javascript disabled. You will not be able to edit any code.