com doc/ja: define_syslog_variables() and related INI is removed as of PHP 5.4.0: ap pendices/ini.list.xml reference/network/functions/define- syslog-variables.xml reference/network/ini.xml referenc e/network/setup.xml
[email protected] (Yoshinari Takaoka) Tue, 26 Jan 2021 00:59:22 +0000
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
Commit: 416048eea9dc5f49feab7fa934aa58f2f9b3e0a4 Author: Yoshinari Takaoka <[email protected]> Tue, 26 Jan 2021 09:59:22 +0900 Parents: 2f96f92adbd3b9761b29ade354370ad4cb916f3e Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=416048eea9dc5f49feab7fa934aa58f2f9b3e0a4 Log: 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_416048eea9dc5f49feab7fa934aa58f2f9b3e0a4.txt
(text/plain, 13.6 KB)
diff --git a/appendices/ini.list.xml b/appendices/ini.list.xml
index 44c27d4f2d..77d84fdefd 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: takagi Status: ready -->
+<!-- EN-Revision: 1fb41f1900406a130e59f37d6e66538a64048524 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa,shimooka,mumumu -->
<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">
@@ -435,12 +435,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>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 92e7f33cda..0000000000
--- a/reference/network/functions/define-syslog-variables.xml
+++ /dev/null
@@ -1,323 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 0f9d01eea1839b332efc1dd7a0ed93b125632f5e Maintainer: hirokawa Status: ready -->
-<refentry xml:id="function.define-syslog-variables" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
- <refname>define_syslog_variables</refname>
- <refpurpose>syslog に関係する全ての定数を初期化する</refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
- <type>void</type><methodname>define_syslog_variables</methodname>
- <void/>
- </methodsynopsis>
- <para>
- syslog 関数で使用される全ての定数を初期化します。
- </para>
- </refsect1>
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
- &return.void;
- </para>
- <table>
- <title>Syslog 変数</title>
- <tgroup cols="4">
- <thead>
- <row>
- <entry>変数</entry>
- <entry>同等な定数</entry>
- <entry>意味</entry>
- <entry>注意</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry><varname>$LOG_EMERG</varname></entry>
- <entry><constant>LOG_EMERG</constant></entry>
- <entry>システムが使用不能</entry>
- <entry></entry>
- </row>
- <row>
- <entry><varname>$LOG_ALERT</varname></entry>
- <entry><constant>LOG_ALERT</constant></entry>
- <entry>即時の対応が必要</entry>
- <entry></entry>
- </row>
- <row>
- <entry><varname>$LOG_CRIT</varname></entry>
- <entry><constant>LOG_CRIT</constant></entry>
- <entry>致命的な状態</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>一般的なユーザーレベル</entry>
- <entry></entry>
- </row>
- <row>
- <entry><varname>$LOG_MAIL</varname></entry>
- <entry><constant>LOG_MAIL</constant></entry>
- <entry>ログをメールで送信</entry>
- <entry></entry>
- </row>
- <row>
- <entry><varname>$LOG_DAEMON</varname></entry>
- <entry><constant>LOG_DAEMON</constant></entry>
- <entry>他のシステムデーモン</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>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>Usenet ニュース</entry>
- <entry>HP-UX では利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_CRON</varname></entry>
- <entry><constant>LOG_CRON</constant></entry>
- <entry></entry>
- <entry>すべてのプラットフォームで利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_AUTHPRIV</varname></entry>
- <entry><constant>LOG_AUTHPRIV</constant></entry>
- <entry></entry>
- <entry>AIX では利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_LOCAL0</varname></entry>
- <entry><constant>LOG_LOCAL0</constant></entry>
- <entry></entry>
- <entry>Windows および Netware では利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_LOCAL1</varname></entry>
- <entry><constant>LOG_LOCAL1</constant></entry>
- <entry></entry>
- <entry>Windows および Netware では利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_LOCAL2</varname></entry>
- <entry><constant>LOG_LOCAL2</constant></entry>
- <entry></entry>
- <entry>Windows および Netware では利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_LOCAL3</varname></entry>
- <entry><constant>LOG_LOCAL3</constant></entry>
- <entry></entry>
- <entry>Windows および Netware では利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_LOCAL4</varname></entry>
- <entry><constant>LOG_LOCAL4</constant></entry>
- <entry></entry>
- <entry>Windows および Netware では利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_LOCAL5</varname></entry>
- <entry><constant>LOG_LOCAL5</constant></entry>
- <entry></entry>
- <entry>Windows および Netware では利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_LOCAL6</varname></entry>
- <entry><constant>LOG_LOCAL6</constant></entry>
- <entry></entry>
- <entry>Windows および Netware では利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_LOCAL7</varname></entry>
- <entry><constant>LOG_LOCAL7</constant></entry>
- <entry></entry>
- <entry>Windows および 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>BeOS では利用できません</entry>
- </row>
- <row>
- <entry><varname>$LOG_PERROR</varname></entry>
- <entry><constant>LOG_PERROR</constant></entry>
- <entry></entry>
- <entry>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><function>define_syslog_variables</function> の例</title>
- <programlisting role="php">
-<![CDATA[
-<?php
-// syslog 変数が定義済みかどうかを確認します
-if(!get_cfg_var('define_syslog_variables'))
-{
- define_syslog_variables();
-}
-
-// ログを開きます
-openlog('', $LOG_ODELAY, $LOG_MAIL | $LOG_USER);
-
-// スクリプトを続行します ...
-?>
-]]>
- </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>
- この関数は PHP から削除されました。
- </entry>
- </row>
- <row>
- <entry>5.3.0</entry>
- <entry>
- この関数は 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 0a9957412e..0000000000
--- a/reference/network/ini.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: hirokawa Status: ready -->
-<!-- CREDITS: takagi -->
-<section xml:id="network.configuration" xmlns="http://docbook.org/ns/docbook">
- &reftitle.runtime;
- &extension.runtime;
- <para>
- <table>
- <title>ネットワーク設定オプション(Network)</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>PHP 5.3.0 で非推奨となり、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>
- <type>bool</type>
- </term>
- <listitem>
- <para>
- 様々なsyslog変数(例: $LOG_PID、$LOG_CRON、等)を定義するかどうか。
- これをoffにするのは、性能面では良い考えです。
- 実行時に<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
--->
-
-
diff --git a/reference/network/setup.xml b/reference/network/setup.xml
index 389a5b7161..485171c044 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: takagi Status: ready -->
+<!-- EN-Revision: 1fb41f1900406a130e59f37d6e66538a64048524 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa -->
<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 -->