com doc/fr: Apply commit 1fb41f1900406a130e59f37d6e66538a64048524: appendices/ini.list.xml reference/network/functions/define-syslog-variables.xml reference/network/ini.xml reference/network/setup.xml

[email protected] (George Peter Banyard) Tue, 26 Jan 2021 18:41:21 +0000
Newsgroups php.doc.fr
Message-ID <[email protected]>
Commit:    484a7b431275b145c9e7133a1caebef0f43cb1d4
Author:    George Peter Banyard <[email protected]>         Tue, 26 Jan 2021 18:41:21 +0000
Parents:   b71a5e7de8356d74d4ba6b4bc6b9eeca66fe7f6e
Branches:  master

Link:       http://git.php.net/?p=doc/fr.git;a=commitdiff;h=484a7b431275b145c9e7133a1caebef0f43cb1d4

Log:
Apply commit 1fb41f1900406a130e59f37d6e66538a64048524

define_syslog_variables() and related INI is removed as of PHP 5.4.0

Changed paths:
  M  appendices/ini.list.xml
  D  reference/network/functions/define-syslog-variables.xml
  D  reference/network/ini.xml
  M  reference/network/setup.xml
diff_484a7b431275b145c9e7133a1caebef0f43cb1d4.txt (text/plain, 13.5 KB)
diff --git a/appendices/ini.list.xml b/appendices/ini.list.xml
index daba0347f9..4af18f6ba6 100644
--- a/appendices/ini.list.xml
+++ b/appendices/ini.list.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: f3d6ada6156b28791a28efebe2e5c070159c3a94 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 1fb41f1900406a130e59f37d6e66538a64048524 Maintainer: yannick Status: ready -->
 <!-- Reviewed: no -->
 <section xml:id="ini.list" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
  <title>Liste des directives du &php.ini;</title>
@@ -436,12 +436,6 @@
       <entry></entry>
      </row>
      <row>
-      <entry><link linkend="ini.define-syslog-variables">define_syslog_variables</link></entry>
-      <entry>"0"</entry>
-      <entry>PHP_INI_ALL</entry>
-      <entry>Retiré depuis PHP 5.4.0</entry>
-     </row>
-     <row>
       <entry>detect_unicode</entry>
       <entry>"1"</entry>
       <entry>PHP_INI_ALL</entry>
diff --git a/reference/network/functions/define-syslog-variables.xml b/reference/network/functions/define-syslog-variables.xml
deleted file mode 100644
index fcd1b488df..0000000000
--- a/reference/network/functions/define-syslog-variables.xml
+++ /dev/null
@@ -1,325 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 0f9d01eea1839b332efc1dd7a0ed93b125632f5e Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<refentry xml:id="function.define-syslog-variables" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
-  <refname>define_syslog_variables</refname>
-  <refpurpose>Initialise toutes les variables relatives aux fonctions syslog</refpurpose>
- </refnamediv>
- 
- <refsect1 role="description">
-  &reftitle.description;
-  <methodsynopsis>
-   <type>void</type><methodname>define_syslog_variables</methodname>
-   <void/>
-  </methodsynopsis>
-  <para>
-   Initialise toutes les variables utilisées dans les fonctions syslog.
-  </para>
- </refsect1>
- 
- <refsect1 role="returnvalues">
-  &reftitle.returnvalues;
-  <para>
-   &return.void;
-  </para>
-  <table>
-   <title>Variables Syslog</title>
-   <tgroup cols="4">
-    <thead>
-     <row>
-      <entry>Variable</entry>
-      <entry>Valeur de la constante</entry>
-      <entry>Signification</entry>
-      <entry>Notes</entry>
-     </row>
-    </thead>
-    <tbody>
-     <row>
-      <entry><varname>$LOG_EMERG</varname></entry>
-      <entry><constant>LOG_EMERG</constant></entry>
-      <entry>Le système n'est pas utilisable</entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_ALERT</varname></entry>
-      <entry><constant>LOG_ALERT</constant></entry>
-      <entry>Une action immédiate est requise</entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_CRIT</varname></entry>
-      <entry><constant>LOG_CRIT</constant></entry>
-      <entry>Conditions critiques</entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_ERR</varname></entry>
-      <entry><constant>LOG_ERR</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_WARNING</varname></entry>
-      <entry><constant>LOG_WARNING</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_NOTICE</varname></entry>
-      <entry><constant>LOG_NOTICE</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_INFO</varname></entry>
-      <entry><constant>LOG_INFO</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_DEBUG</varname></entry>
-      <entry><constant>LOG_DEBUG</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_KERN</varname></entry>
-      <entry><constant>LOG_KERN</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_USER</varname></entry>
-      <entry><constant>LOG_USER</constant></entry>
-      <entry>Niveau utilisateur générique</entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_MAIL</varname></entry>
-      <entry><constant>LOG_MAIL</constant></entry>
-      <entry>Enregistre au niveau email</entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_DAEMON</varname></entry>
-      <entry><constant>LOG_DAEMON</constant></entry>
-      <entry>Autres démons systèmes</entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_AUTH</varname></entry>
-      <entry><constant>LOG_AUTH</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_SYSLOG</varname></entry>
-      <entry><constant>LOG_SYSLOG</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous Netware</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_LPR</varname></entry>
-      <entry><constant>LOG_LPR</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_NEWS</varname></entry>
-      <entry><constant>LOG_NEWS</constant></entry>
-      <entry>Nouvelle Usenet</entry>
-      <entry>Non disponible sous HP-UX</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_CRON</varname></entry>
-      <entry><constant>LOG_CRON</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous toutes les plateformes</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_AUTHPRIV</varname></entry>
-      <entry><constant>LOG_AUTHPRIV</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous AIX</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_LOCAL0</varname></entry>
-      <entry><constant>LOG_LOCAL0</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous Windows et Netware</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_LOCAL1</varname></entry>
-      <entry><constant>LOG_LOCAL1</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous Windows et Netware</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_LOCAL2</varname></entry>
-      <entry><constant>LOG_LOCAL2</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous Windows et Netware</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_LOCAL3</varname></entry>
-      <entry><constant>LOG_LOCAL3</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous Windows et Netware</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_LOCAL4</varname></entry>
-      <entry><constant>LOG_LOCAL4</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous Windows et Netware</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_LOCAL5</varname></entry>
-      <entry><constant>LOG_LOCAL5</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous Windows et Netware</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_LOCAL6</varname></entry>
-      <entry><constant>LOG_LOCAL6</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous Windows et Netware</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_LOCAL7</varname></entry>
-      <entry><constant>LOG_LOCAL7</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous Windows et Netware</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_PID</varname></entry>
-      <entry><constant>LOG_PID</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_CONS</varname></entry>
-      <entry><constant>LOG_CONS</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_ODELAY</varname></entry>
-      <entry><constant>LOG_ODELAY</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_NDELAY</varname></entry>
-      <entry><constant>LOG_NDELAY</constant></entry>
-      <entry></entry>
-      <entry></entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_NOWAIT</varname></entry>
-      <entry><constant>LOG_NOWAIT</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous BeOS</entry>
-     </row>
-     <row>
-      <entry><varname>$LOG_PERROR</varname></entry>
-      <entry><constant>LOG_PERROR</constant></entry>
-      <entry></entry>
-      <entry>Non disponible sous AIX</entry>
-     </row>
-    </tbody>
-   </tgroup>
-  </table>
-  &warn.deprecated.function-5-3-0.removed-5-4-0;
- </refsect1>
- 
- <refsect1 role="examples">
-  &reftitle.examples;
-  <para>
-   <example>
-    <title>Exemple avec <function>define_syslog_variables</function></title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-// Vérifie si les variables syslog sont définies
-if(!get_cfg_var('define_syslog_variables'))
-{
-    define_syslog_variables();
-}
-
-// Ouverture de l'historique
-openlog('', $LOG_ODELAY, $LOG_MAIL | $LOG_USER);
-
-// On continue le script ...
-?>
-]]>
-    </programlisting>
-   </example>
-  </para>
- </refsect1>
- 
- <refsect1 role="changelog">
-  &reftitle.changelog;
-  <para>
-   <informaltable>
-    <tgroup cols="2">
-     <thead>
-      <row>
-       <entry>&Version;</entry>
-       <entry>&Description;</entry>
-      </row>
-     </thead>
-     <tbody>
-      <row>
-       <entry>5.4.0</entry>
-       <entry>
-        Cette fonction a été supprimée de PHP.
-       </entry>
-      </row>
-      <row>
-       <entry>5.3.0</entry>
-       <entry>
-        Cette fonction lance maintenant des alertes de type E_DEPRECATED.
-       </entry>
-      </row>
-     </tbody>
-    </tgroup>
-   </informaltable>
-  </para>
- </refsect1>
- 
- <refsect1 role="seealso">
-  &reftitle.seealso;
-  <para>
-   <simplelist>
-    <member><function>openlog</function></member>
-    <member><function>syslog</function></member>
-    <member><function>closelog</function></member>
-   </simplelist>
-  </para>
- </refsect1>
- 
-</refentry>
-
-<!-- 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:"~/.phpdoc/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
--->
diff --git a/reference/network/ini.xml b/reference/network/ini.xml
deleted file mode 100644
index dffb7838c3..0000000000
--- a/reference/network/ini.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready -->
-<!-- Reviewed: yes -->
-
-<section xml:id="network.configuration" xmlns="http://docbook.org/ns/docbook">
- &reftitle.runtime;
- &extension.runtime;
- <para>
-  <table>
-   <title>&ConfigureOptions; pour le réseau</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.define-syslog-variables">define_syslog_variables</link></entry>
-     <entry>"0"</entry>
-     <entry>PHP_INI_ALL</entry>
-     <entry>Obsolète en PHP 5.3.0. Supprimé en PHP 5.4.0.</entry>
-    </row>
-    </tbody>
-   </tgroup>
-  </table>
- &ini.php.constants;
- </para>
- &ini.descriptions.title;
- <para>
- <variablelist>
- <varlistentry xml:id="ini.define-syslog-variables">
-  <term>
-   <parameter>define_syslog_variables</parameter>
-   &boolean;
-   </term>
-   <listitem>
-    <para>
-     Définit s'il faut ou pas définir les différentes variables de syslog,
-     (e.g. $LOG_PID, $LOG_CRON, etc.). Éteindre cette fonctionnalité est recommandé
-     pour les performances. Durant l'exécution, vous pouvez définir ces variables
-     en appelant <function>define_syslog_variables</function>.
-    </para>
-   </listitem>
-  </varlistentry>
- </variablelist>
- </para>
-</section>
-
-<!-- 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:"~/.phpdoc/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
--->
\ No newline at end of file
diff --git a/reference/network/setup.xml b/reference/network/setup.xml
index d9dd8326b5..c82806fea7 100644
--- a/reference/network/setup.xml
+++ b/reference/network/setup.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 64e414eb0384ac1bff614cf7f7bd0f4eaba92fdd Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 1fb41f1900406a130e59f37d6e66538a64048524 Maintainer: yannick Status: ready -->
 <!-- Reviewed: yes -->
 
 <chapter xml:id="network.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -24,7 +24,10 @@
  <!-- }}} -->
 
  <!-- {{{ Configuration -->
- &reference.network.ini;
+ <section xml:id="network.configuration">
+  &reftitle.runtime;
+  &no.config;
+ </section>
  <!-- }}} -->
 
  <!-- {{{ Resources -->