Filesystem and Streams Configuration OptionsNameDefaultChangeableauto_detect_line_endings"Off"PHP_INI_ALL
Here is a short explanation of the configuration directives.
auto_detect_line_endingsboolean
When turned on, PHP will examine the data read by
fgets and file to see if it
is using Unix, MS-Dos or Macintosh line-ending conventions.
This enables PHP to to interoperate with Macintosh systems,
but defaults to Off, as there is a very small performance penalty
when detecting the EOL conventions for the first line, and also
because people using carriage-returns as item separators under
Unix systems would experience non-backwards-compatible behaviour.
&reftitle.resources;
&reftitle.constants;
&no.constants;
&reftitle.seealso;
For related functions, see also the Directory
and Program Execution sections.
For a list and explanation of the various URL wrappers that can be used
as remote files, see also .
&reference.filesystem.functions;