Skip to content

Commit

Permalink
[PHP 8.4] 「PHP 8.3.x から PHP 8.4.x への移行」の翻訳
Browse files Browse the repository at this point in the history
Co-authored-by: Naoki Ikeguchi <[email protected]>
Co-authored-by: USAMI Kenta <[email protected]>
  • Loading branch information
3 people committed Nov 7, 2024
1 parent 340319f commit f89e7a8
Show file tree
Hide file tree
Showing 10 changed files with 975 additions and 967 deletions.
11 changes: 5 additions & 6 deletions appendices/migration84.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: d64e811eac61a5c7c744312d8bc6e2244de81488 Maintainer: KentarouTakeda Status: ready -->
<!-- Credits: KentarouTakeda -->
<appendix xml:id="migration84" xmlns="http://docbook.org/ns/docbook">
<title>Migrating from PHP 8.3.x to PHP 8.4.x</title>
<title>PHP 8.3.x から PHP 8.4.x への移行</title>

<para>
This new minor version brings with it a number of
<link linkend="migration84.new-features">new features</link> and a
<link linkend="migration84.incompatible">few incompatibilities</link>
that should be tested for before switching PHP versions in production
environments.
この新しいマイナーバージョンには、たくさんの <link linkend="migration84.new-features">新機能</link> と <link linkend="migration84.incompatible">互換性のない変更がいくつか</link> あります。実運用環境の PHP をこのバージョンにあげる前に、これらの変更を必ずテストすべきです。
</para>

<para>
Expand Down
61 changes: 32 additions & 29 deletions appendices/migration84/constants.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 8a6397d39aefd23c61d64aa4e9af919772541e2a Maintainer: KentarouTakeda Status: ready -->
<!-- Credits: KentarouTakeda -->
<sect1 xml:id="migration84.constants">
<title>New Global Constants</title>
<title>新しいグローバル定数</title>

<sect2 xml:id="migration84.constants.core">
<title>Core</title>
<title>PHP コア</title>

<simplelist>
<member>
Expand Down Expand Up @@ -111,11 +114,11 @@
<constant>LIBXML_RECOVER</constant>
</member>
<member>
<constant>LIBXML_NO_XXE</constant>.
This is used together with <constant>LIBXML_NOENT</constant>
when entity substitution should be performed,
while disallowing external entity loading.
This constant is available as of libxml2 2.13.
<constant>LIBXML_NO_XXE</constant>
これは、外部エンティティの読み込みを許可せず
エンティティの置換を行うために、
<constant>LIBXML_NOENT</constant>と一緒に使用されます。
この定数はlibxml2 2.13から利用可能です。
</member>
</simplelist>
</sect2>
Expand Down Expand Up @@ -144,10 +147,10 @@

<simplelist>
<member>
<constant>SIGCKPT</constant> (DragonFlyBSD only)
<constant>SIGCKPT</constant> (DragonFlyBSDのみ)
</member>
<member>
<constant>SIGCKPTEXIT</constant> (DragonFlyBSD only)
<constant>SIGCKPTEXIT</constant> (DragonFlyBSDのみ)
</member>
<member>
<constant>WEXITED</constant>
Expand All @@ -168,19 +171,19 @@
<constant>P_PGID</constant>
</member>
<member>
<constant>P_PIDFD</constant> (Linux only)
<constant>P_PIDFD</constant> (Linuxのみ)
</member>
<member>
<constant>P_UID</constant> (NetBSD/FreeBSD only)
<constant>P_UID</constant> (NetBSD/FreeBSDのみ)
</member>
<member>
<constant>P_GID</constant> (NetBSD/FreeBSD only)
<constant>P_GID</constant> (NetBSD/FreeBSDのみ)
</member>
<member>
<constant>P_SID</constant> (NetBSD/FreeBSD only)
<constant>P_SID</constant> (NetBSD/FreeBSDのみ)
</member>
<member>
<constant>P_JAILID</constant> (FreeBSD only)
<constant>P_JAILID</constant> (FreeBSDのみ)
</member>
</simplelist>
</sect2>
Expand All @@ -206,42 +209,42 @@
<title>Sockets</title>

<simpara>
The following socket options are now defined if they are supported:
サポートされている場合、次のソケットオプションが新たに定義されます:
</simpara>

<simplelist>
<member>
<constant>SO_EXCLUSIVEADDRUSE</constant> (Windows only)
<constant>SO_EXCLUSIVEADDRUSE</constant> (Windowsのみ)
</member>
<member>
<constant>SOCK_CONN_DGRAM</constant> (NetBSD only)
<constant>SOCK_CONN_DGRAM</constant> (NetBSDのみ)
</member>
<member>
<constant>SOCK_DCCP</constant> (NetBSD only)
<constant>SOCK_DCCP</constant> (NetBSDのみ)
</member>
<member>
<constant>TCP_SYNCNT</constant> (Linux only)
<constant>TCP_SYNCNT</constant> (Linuxのみ)
</member>
<member>
<constant>SO_EXCLBIND</constant> (Solaris/Illumos only)
<constant>SO_EXCLBIND</constant> (Solaris/Illumosのみ)
</member>
<member>
<constant>SO_NOSIGPIPE</constant> (macOS and FreeBSD)
<constant>SO_NOSIGPIPE</constant>(macOSおよびFreeBSD)
</member>
<member>
<constant>SO_LINGER_SEC</constant> (macOS only)
<constant>SO_LINGER_SEC</constant> (macOSのみ)
</member>
<member>
<constant>IP_PORTRANGE</constant> (FreeBSD/NetBSD/OpenBSD only)
<constant>IP_PORTRANGE</constant> (FreeBSD/NetBSD/OpenBSDのみ)
</member>
<member>
<constant>IP_PORTRANGE_DEFAULT</constant> (FreeBSD/NetBSD/OpenBSD only)
<constant>IP_PORTRANGE_DEFAULT</constant> (FreeBSD/NetBSD/OpenBSDのみ)
</member>
<member>
<constant>IP_PORTRANGE_HIGH</constant> (FreeBSD/NetBSD/OpenBSD only)
<constant>IP_PORTRANGE_HIGH</constant> (FreeBSD/NetBSD/OpenBSDのみ)
</member>
<member>
<constant>IP_PORTRANGE_LOW</constant> (FreeBSD/NetBSD/OpenBSD only)
<constant>IP_PORTRANGE_LOW</constant> (FreeBSD/NetBSD/OpenBSDのみ)
</member>
<member>
<constant>SOCK_NONBLOCK</constant>
Expand Down Expand Up @@ -307,9 +310,9 @@
<simplelist>
<member>
<constant>XML_OPTION_PARSE_HUGE</constant>
which allows parsing large inputs with
<function>xml_parse</function> and
<function>xml_parse_into_struct</function>.
<function>xml_parse</function>や
<function>xml_parse_into_struct</function>
を使用して大きな入力を解析することを可能にします。
</member>
</simplelist>
</sect2>
Expand Down
Loading

0 comments on commit f89e7a8

Please sign in to comment.