newlines to php eols