Php – Finding all types of end-of-line delimiters in a file
I have the following function to get all of the different types of end-of-line delimiters in a file. There may be one or more, so I want to return an array of all types. function ddtt_get_file_eol( $file_contents, $incl_code = true…