1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-24 07:02:06 +01:00
Files
archived-doc-fr/reference/yaml/ini.xml
Louis-Arnaud 8da8c3fe7a sync EN-Revision hashes and apply pending EN changes (#2465)
* sync EN-Revision hashes and apply pending EN changes
2026-02-12 11:04:51 +01:00

144 lines
4.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: d4d5216e7a965ca194f6b1c9dee84cecab2674e5 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
<section xml:id="yaml.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>&ConfigureOptions; Yaml</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody>
<row>
<entry><link linkend="ini.yaml.decode-binary">yaml.decode_binary</link></entry>
<entry>0</entry>
<entry><constant>INI_ALL</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry><link linkend="ini.yaml.decode-php">yaml.decode_php</link></entry>
<entry>0</entry>
<entry><constant>INI_ALL</constant></entry>
<entry>Ajouté dans la version 1.2.0, avant la version 2.0.0 la valeur par défaut était 1</entry>
</row>
<row>
<entry><link linkend="ini.yaml.decode-timestamp">yaml.decode_timestamp</link></entry>
<entry>0</entry>
<entry><constant>INI_ALL</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry><link linkend="ini.yaml.output-canonical">yaml.output_canonical</link></entry>
<entry>0</entry>
<entry><constant>INI_ALL</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry><link linkend="ini.yaml.output-indent">yaml.output_indent</link></entry>
<entry>2</entry>
<entry><constant>INI_ALL</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry><link linkend="ini.yaml.output-width">yaml.output_width</link></entry>
<entry>80</entry>
<entry><constant>INI_ALL</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.yaml.decode-binary">
<term>
<parameter>yaml.decode_binary</parameter>
<type>bool</type>
</term>
<listitem>
<para>
Off par défaut ; si mis à on, permet le décodage des entités binaires
base64 ayant le tag explicite "tag:yaml.org,2002:binary".
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yaml.decode-php">
<term>
<parameter>yaml.decode_php</parameter>
<type>bool</type>
</term>
<listitem>
<para>
Désactivé par défaut, mais peut être activé pour causer la désérialisation des objets PHP sérialisés ayant la balise explicite "!php/object".
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yaml.decode-timestamp">
<term>
<parameter>yaml.decode_timestamp</parameter>
<type>int</type>
</term>
<listitem>
<para>
Contrôle le décodage des scalaires implicites et explicites
"tag:yaml.org,2002:timestamp" dans le flux du document YAML.
La valeur par défaut est <literal>0</literal>, elle n'appliquera
aucun décodage. Mis à <literal>1</literal>, <function>strtotime</function>
sera utilisé pour analyser le timestamp comme un timestamp Unix timestamp.
Mis à <literal>2</literal>, <function>date_create</function> sera utilisée
pour analyser le timestamp via un objet <type>DateTime</type>.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yaml.output-canonical">
<term>
<parameter>yaml.output_canonical</parameter>
<type>bool</type>
</term>
<listitem>
<para>
Off par défaut ; si mis à on, une sortie canonique sera utilisée.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yaml.output-indent">
<term>
<parameter>yaml.output_indent</parameter>
<type>int</type>
</term>
<listitem>
<para>
Nombres d'espaces pour l'indentation. Un entier entre
<literal>1</literal> et <literal>10</literal> est requis.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yaml.output-width">
<term>
<parameter>yaml.output_width</parameter>
<type>int</type>
</term>
<listitem>
<para>
Précise la largeur de ligne. <literal>-1</literal> signifie illimité.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>