mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
fileinfo: fix XML by converting para to simpara tags via script (#5139)
This commit is contained in:
committed by
GitHub
parent
ab6d54b20e
commit
82ddd2ec8a
@@ -1,31 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<book xml:id="book.fileinfo" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="book.fileinfo">
|
||||
<?phpdoc extension-membership="bundled" ?>
|
||||
<title>File Information</title>
|
||||
<titleabbrev>Fileinfo</titleabbrev>
|
||||
|
||||
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.fileinfo">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
<simpara>
|
||||
The functions in this module try to guess the content type
|
||||
and encoding of a file by looking for certain
|
||||
and encoding of a file by looking for certain
|
||||
<emphasis>magic</emphasis> byte sequences at specific
|
||||
positions within the file. While this is not a bullet proof
|
||||
approach the heuristics used do a very good job.
|
||||
</para>
|
||||
</simpara>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
||||
|
||||
&reference.fileinfo.setup;
|
||||
&reference.fileinfo.constants;
|
||||
&reference.fileinfo.reference;
|
||||
&reference.fileinfo.finfo;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -46,4 +44,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,21 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<section xml:id="fileinfo.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="fileinfo.installation">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
<simpara>
|
||||
This extension is enabled by default.
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
Windows users must include the bundled <filename>php_fileinfo.dll</filename>
|
||||
<acronym>DLL</acronym> file in &php.ini; to enable this extension.
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
The libmagic library is bundled with PHP, but includes PHP specific changes.
|
||||
A patch against libmagic named <filename>libmagic.patch</filename> is maintained
|
||||
and may be found within the PHP fileinfo extensions source.
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<reference xml:id="class.finfo" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<reference xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="class.finfo" role="class">
|
||||
|
||||
<title>The finfo class</title>
|
||||
<titleabbrev>finfo</titleabbrev>
|
||||
@@ -10,10 +10,10 @@
|
||||
<!-- {{{ finfo intro -->
|
||||
<section xml:id="finfo.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
<simpara>
|
||||
This class provides an object-oriented interface into the fileinfo
|
||||
functions.
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="finfo.buffer" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="finfo.buffer">
|
||||
<refnamediv>
|
||||
<refname>finfo::buffer</refname>
|
||||
<refpurpose>&Alias; <link linkend="function.finfo-buffer">finfo_buffer()</link></refpurpose>
|
||||
@@ -14,9 +14,9 @@
|
||||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>FILEINFO_NONE</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
&info.function.alias; <link linkend="function.finfo-buffer">finfo_buffer()</link>
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="finfo.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="finfo.construct">
|
||||
<refnamediv>
|
||||
<refname>finfo::__construct</refname>
|
||||
<refpurpose>&Alias; <function>finfo_open</function></refpurpose>
|
||||
@@ -13,9 +13,9 @@
|
||||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>FILEINFO_NONE</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>magic_database</parameter><initializer>&null;</initializer></methodparam>
|
||||
</constructorsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
&info.function.alias; <function>finfo_open</function>
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="finfo.file" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="finfo.file">
|
||||
<refnamediv>
|
||||
<refname>finfo::file</refname>
|
||||
<refpurpose>&Alias; <link linkend="function.finfo-file">finfo_file()</link></refpurpose>
|
||||
@@ -14,9 +14,9 @@
|
||||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>FILEINFO_NONE</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
&info.function.alias; <link linkend="function.finfo-file">finfo_file()</link>
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="finfo.set-flags" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="finfo.set-flags">
|
||||
<refnamediv>
|
||||
<refname>finfo::set_flags</refname>
|
||||
<refpurpose>&Alias; <link linkend="function.finfo-set-flags">finfo_set_flags()</link></refpurpose>
|
||||
@@ -12,9 +12,9 @@
|
||||
<modifier>public</modifier> <type>true</type><methodname>finfo::set_flags</methodname>
|
||||
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
&info.function.alias; <link linkend="function.finfo-set-flags">finfo_set_flags()</link>
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.procedural;</para>
|
||||
<simpara>&style.procedural;</simpara>
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>finfo_buffer</methodname>
|
||||
<methodparam><type>finfo</type><parameter>finfo</parameter></methodparam>
|
||||
@@ -17,7 +17,7 @@
|
||||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>FILEINFO_NONE</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.oop;</para>
|
||||
<simpara>&style.oop;</simpara>
|
||||
<methodsynopsis role="finfo">
|
||||
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>finfo::buffer</methodname>
|
||||
<methodparam><type>string</type><parameter>string</parameter></methodparam>
|
||||
@@ -25,9 +25,9 @@
|
||||
<methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<para>
|
||||
<simpara>
|
||||
This function is used to get information about binary data in a string.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -42,35 +42,35 @@
|
||||
<varlistentry>
|
||||
<term><parameter>string</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
Content of a file to be checked.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>flags</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
One or disjunction of more <link linkend="fileinfo.constants">Fileinfo
|
||||
constants</link>.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>context</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
</para>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Returns a textual description of the <parameter>string</parameter>
|
||||
argument, or &false; if an error occurred.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
<methodparam><type>finfo</type><parameter>finfo</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<para>
|
||||
<simpara>
|
||||
This function closes the instance opened by <function>finfo_open</function>.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -35,9 +35,9 @@
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.procedural;</para>
|
||||
<simpara>&style.procedural;</simpara>
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>finfo_file</methodname>
|
||||
<methodparam><type>finfo</type><parameter>finfo</parameter></methodparam>
|
||||
@@ -17,7 +17,7 @@
|
||||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>FILEINFO_NONE</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.oop;</para>
|
||||
<simpara>&style.oop;</simpara>
|
||||
<methodsynopsis role="finfo">
|
||||
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>finfo::file</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
@@ -25,9 +25,9 @@
|
||||
<methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<para>
|
||||
<simpara>
|
||||
This function is used to get information about a file.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -42,36 +42,36 @@
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
Name of a file to be checked.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>flags</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
One or disjunction of more <link linkend="fileinfo.constants">Fileinfo
|
||||
constants</link>.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>context</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
For a description of <literal>contexts</literal>, refer to <xref linkend="ref.stream"/>.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Returns a textual description of the contents of the
|
||||
<parameter>filename</parameter> argument, or &false; if an error occurred.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -9,21 +9,21 @@
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.procedural;</para>
|
||||
<simpara>&style.procedural;</simpara>
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>finfo</type><type>false</type></type><methodname>finfo_open</methodname>
|
||||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>FILEINFO_NONE</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>magic_database</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.oop; (constructor):</para>
|
||||
<simpara>&style.oop; (constructor):</simpara>
|
||||
<constructorsynopsis role="finfo">
|
||||
<modifier>public</modifier> <methodname>finfo::__construct</methodname>
|
||||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>FILEINFO_NONE</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>magic_database</parameter><initializer>&null;</initializer></methodparam>
|
||||
</constructorsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
This function opens a magic database and returns its instance.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -32,26 +32,26 @@
|
||||
<varlistentry>
|
||||
<term><parameter>flags</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
One or disjunction of more <link linkend="fileinfo.constants">Fileinfo
|
||||
constants</link>.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>magic_database</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
Name of a magic database file, usually something like
|
||||
<filename>/path/to/magic.mime</filename>. If not specified, the
|
||||
<literal>MAGIC</literal> environment variable is used. If the
|
||||
environment variable isn't set, then PHP's bundled magic database will
|
||||
be used.
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
Passing &null; or an empty string will be equivalent to the default
|
||||
value.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -59,10 +59,10 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
(Procedural style only)
|
||||
Returns an <classname>finfo</classname> instance on success,&return.falseforfailure;.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
@@ -144,12 +144,12 @@ text/plain; charset=us-ascii
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
<simpara>
|
||||
Generally, using the bundled magic database (by leaving
|
||||
<parameter>magic_database</parameter> and the <literal>MAGIC</literal>
|
||||
environment variables unset) is the best course of action unless you
|
||||
specifically need a custom magic database.
|
||||
</para>
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -9,22 +9,22 @@
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.procedural;</para>
|
||||
<simpara>&style.procedural;</simpara>
|
||||
<methodsynopsis>
|
||||
<type>true</type><methodname>finfo_set_flags</methodname>
|
||||
<methodparam><type>finfo</type><parameter>finfo</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.oop;</para>
|
||||
<simpara>&style.oop;</simpara>
|
||||
<methodsynopsis role="finfo">
|
||||
<modifier>public</modifier> <type>true</type><methodname>finfo::set_flags</methodname>
|
||||
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<para>
|
||||
<simpara>
|
||||
This function sets various Fileinfo options. Options can be set also
|
||||
directly in <function>finfo_open</function> or other Fileinfo functions.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -39,19 +39,19 @@
|
||||
<varlistentry>
|
||||
<term><parameter>flags</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
One or disjunction of more <link linkend="fileinfo.constants">Fileinfo
|
||||
constants</link>.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.true.always;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>mime_content_type</methodname>
|
||||
<methodparam><type class="union"><type>resource</type><type>string</type></type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Returns the MIME content type for a file as determined by using
|
||||
information from the <filename>magic.mime</filename> file.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -24,9 +24,9 @@
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
Path to the tested file.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -34,11 +34,11 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Returns the content type in MIME format, like
|
||||
<literal>text/plain</literal> or <literal>application/octet-stream</literal>,
|
||||
&return.falseforfailure;.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<chapter xml:id="fileinfo.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="fileinfo.setup">
|
||||
&reftitle.setup;
|
||||
|
||||
<!-- {{{ Installation -->
|
||||
@@ -11,15 +10,14 @@
|
||||
<!-- {{{ Resources -->
|
||||
<section xml:id="fileinfo.resources">
|
||||
&reftitle.resources;
|
||||
<para>
|
||||
<simpara>
|
||||
Prior to PHP 8.1.0, there was one resource used in the Fileinfo extension: a magic database
|
||||
descriptor returned by <function>finfo_open</function>.
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -40,4 +38,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user