php-doc-en/reference/filesystem/reference.xml

129 lines
3.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<reference id="ref.filesystem">
<title>Filesystem functions</title>
<titleabbrev>Filesystem</titleabbrev>
<partintro>
<section id="filesystem.intro">
&reftitle.intro;
<para>
</para>
</section>
<section id="filesystem.requirements">
&reftitle.required;
&no.requirement;
</section>
<section id="filesystem.installation">
&reftitle.install;
&no.install;
</section>
<section id="filesystem.configuration">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>Filesystem and Streams Configuration Options</title>
<tgroup cols="3">
<thead>
<row>
<entry>Name</entry>
<entry>Default</entry>
<entry>Changeable</entry>
</row>
</thead>
<tbody>
<row>
<entry>auto_detect_line_endings</entry>
<entry>"Off"</entry>
<entry>PHP_INI_ALL</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
<para>
Here is a short explanation of the configuration directives.
<variablelist>
<varlistentry id="ini.auto-detect-line-endings">
<term>
<parameter>auto_detect_line_endings</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
When turned on, PHP will examine the data read by
<function>fgets</function> and <function>file</function> to see if it
is using Unix, MS-Dos or Macintosh line-ending conventions.
</para>
<para>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.
</para>
<note>
<simpara>
This configuration option was introduced in PHP 4.3.
</simpara>
</note>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
<section id="filesystem.resources">
&reftitle.resources;
<para>
</para>
</section>
<section id="filesystem.constants">
&reftitle.constants;
&no.constants;
</section>
<section id="filesystem.seealso">
&reftitle.seealso;
<simpara>
For related functions, see also the <link linkend="ref.dir">Directory</link>
and <link linkend="ref.exec">Program Execution</link> sections.
</simpara>
<simpara>
For a list and explanation of the various URL wrappers that can be used
as remote files, see also <xref linkend="wrappers"/>.
</simpara>
</section>
</partintro>
&reference.filesystem.functions;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->