Question:What should you do if your script is having problem recognizing file endings from a text file saved on a platform different from the one you’re reading it on?
A Change the auto_detect_line_endings INI setting
B Use a regular expression to detect the last letter of a line
C Use fpos()
D Use ftok()
E Read the file one character at a time
+ ExplanationThe auto_detect_line_endings php.ini setting was introduced in PHP 4.3.0 to make the system attempt to automatically detect the type of line endings used when saving a text file. Therefore, Answer A is correct.