Auto_detect_line_endings - Are there any side effects?

I am writing a script that processes CSV and I found that the auto_detect_line_endings setting seems to be fine for handling CSV generated on Macs.
Are there any possible disadvantages or side effects to changing this setting? I didn't seem to notice anyone (which begs the question, why don't you wear it?)

ini_set('auto_detect_line_endings', true);

+3


source to share


1 answer


Only for CSV files created on ancient Macs that have line endings. This is not a default because such files are rare and there is a slight performance limitation. It's safe to enable it if you want to maximize the resolution of the CSV files you want to process.



+1


source







All Articles