From 0ca1e05c2c8bd934752ac236292c7ddd6b1dd931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Sat, 16 Nov 2024 11:11:09 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E8=8B=B1=E8=AA=9E=E7=89=88=E7=8A=B6?= =?UTF-8?q?=E6=85=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/mysqli/constants.xml | 28 ++++++++++++++++++-- reference/mysqli/mysqli/kill.xml | 30 +++++++++++++++++++++- reference/mysqli/mysqli/ping.xml | 31 ++++++++++++++++++++++- reference/mysqli/mysqli/refresh.xml | 30 +++++++++++++++++++++- reference/mysqli/mysqli/store-result.xml | 25 +++++++++++++++++- reference/mysqli/mysqli/thread-id.xml | 2 +- reference/mysqli/mysqli_stmt/attr-set.xml | 3 ++- 7 files changed, 141 insertions(+), 8 deletions(-) diff --git a/reference/mysqli/constants.xml b/reference/mysqli/constants.xml index 2230976c244..78815d28fa6 100644 --- a/reference/mysqli/constants.xml +++ b/reference/mysqli/constants.xml @@ -1,6 +1,6 @@ - + &reftitle.constants; @@ -281,6 +281,7 @@ the copy approach can reduce the overall memory usage because PHP variables holding results may be released earlier. Available with mysqlnd only. + Deprecated as of PHP 8.4.0. @@ -812,6 +813,17 @@ + + + MYSQLI_TYPE_VECTOR + (int) + + + + Field is defined as VECTOR. + + + MYSQLI_NEED_DATA @@ -849,6 +861,7 @@ + Removed as of PHP 8.4.0. @@ -879,6 +892,7 @@ + Removed as of PHP 8.4.0. @@ -899,6 +913,7 @@ + Removed as of PHP 8.4.0. @@ -1006,6 +1021,7 @@ 権限テーブルをリフレッシュします。 + Deprecated as of PHP 8.4.0. @@ -1018,6 +1034,7 @@ ログをフラッシュします。SQLFLUSH LOGS を実行するのと同じです。 + Deprecated as of PHP 8.4.0. @@ -1030,6 +1047,7 @@ テーブルキャッシュをフラッシュします。SQLFLUSH TABLES を実行するのと同じです。 + Deprecated as of PHP 8.4.0. @@ -1042,6 +1060,7 @@ ホストキャッシュをフラッシュします。SQLFLUSH HOSTS を実行するのと同じです。 + Deprecated as of PHP 8.4.0. @@ -1053,7 +1072,7 @@ MYSQLI_REFRESH_SLAVE のエイリアスです。 - PHP 8.1.0 以降で利用可能です。 + PHP 8.1.0 以降で利用可能です。Deprecated as of PHP 8.4.0. @@ -1066,6 +1085,7 @@ 状態変数をリセットします。SQLFLUSH STATUS を実行するのと同じです。 + Deprecated as of PHP 8.4.0. @@ -1077,6 +1097,7 @@ スレッドキャッシュをフラッシュします。 + Deprecated as of PHP 8.4.0. @@ -1091,6 +1112,7 @@ マスタサーバーの情報をリセットしてスレーブを再起動します。 SQLRESET SLAVE を実行するのと同じです。 + Deprecated as of PHP 8.4.0. @@ -1105,6 +1127,7 @@ バイナリログインデックスにあるバイナリログファイルを削除してインデックスファイルを切り詰めます。 SQLRESET MASTER を実行するのと同じです。 + Deprecated as of PHP 8.4.0. @@ -1117,6 +1140,7 @@ Closes and reopens the backup log files. + Deprecated as of PHP 8.4.0. diff --git a/reference/mysqli/mysqli/kill.xml b/reference/mysqli/mysqli/kill.xml index 1eee9407f8a..38f6bb8cd54 100644 --- a/reference/mysqli/mysqli/kill.xml +++ b/reference/mysqli/mysqli/kill.xml @@ -1,6 +1,6 @@ - + @@ -9,6 +9,10 @@ サーバーに MySQL スレッドの停止を問い合わせる + + &warn.deprecated.function-8-4-0; + + &reftitle.description; &style.oop; @@ -55,6 +59,30 @@ &mysqli.conditionalexception; + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + Both mysqli::kill and + mysqli_kill are now deprecated. Use the + KILL SQL command instead. + + + + + + + &reftitle.examples; diff --git a/reference/mysqli/mysqli/ping.xml b/reference/mysqli/mysqli/ping.xml index 6dece957d0b..583d6e4c421 100644 --- a/reference/mysqli/mysqli/ping.xml +++ b/reference/mysqli/mysqli/ping.xml @@ -1,6 +1,6 @@ - + @@ -9,6 +9,10 @@ サーバーとの接続をチェックし、もし切断されている場合は再接続を試みる + + &warn.deprecated.function-8-4-0; + + &reftitle.description; &style.oop; @@ -60,6 +64,31 @@ &mysqli.conditionalexception; + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + Both mysqli::ping and + mysqli_ping are now deprecated. + The reconnect feature has not been available + as of PHP 8.2.0, making this function obsolete. + + + + + + + &reftitle.examples; diff --git a/reference/mysqli/mysqli/refresh.xml b/reference/mysqli/mysqli/refresh.xml index 7e588a94123..610aa218ce2 100644 --- a/reference/mysqli/mysqli/refresh.xml +++ b/reference/mysqli/mysqli/refresh.xml @@ -1,6 +1,6 @@ - + @@ -8,6 +8,10 @@ mysqli_refresh リフレッシュする + + + &warn.deprecated.function-8-4-0; + &reftitle.description; @@ -56,6 +60,30 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + Both mysqli::refresh and + mysqli_refresh are now deprecated. + Use FLUSH SQL commands instead. + + + + + + + &reftitle.seealso; diff --git a/reference/mysqli/mysqli/store-result.xml b/reference/mysqli/mysqli/store-result.xml index 14e7054447e..a54d825b1f2 100644 --- a/reference/mysqli/mysqli/store-result.xml +++ b/reference/mysqli/mysqli/store-result.xml @@ -1,6 +1,6 @@ - + @@ -99,6 +99,29 @@ &mysqli.conditionalexception; + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + Passing the mode parameter is now deprecated. + The parameter has had no effect as of PHP 8.1.0. + + + + + + + &reftitle.examples; diff --git a/reference/mysqli/mysqli/thread-id.xml b/reference/mysqli/mysqli/thread-id.xml index 7044ff438bc..8f1ee1bbd25 100644 --- a/reference/mysqli/mysqli/thread-id.xml +++ b/reference/mysqli/mysqli/thread-id.xml @@ -1,6 +1,6 @@ - + diff --git a/reference/mysqli/mysqli_stmt/attr-set.xml b/reference/mysqli/mysqli_stmt/attr-set.xml index ad9aeac6a69..7dea5ecc978 100644 --- a/reference/mysqli/mysqli_stmt/attr-set.xml +++ b/reference/mysqli/mysqli_stmt/attr-set.xml @@ -1,6 +1,6 @@ - + @@ -71,6 +71,7 @@ カーソルの使用時にサーバーからいちどに取得する行数。 value に指定できる値の範囲は 1 から unsigned long の最大値までで、デフォルトは 1 です。 + Removed as of PHP 8.4.0. From fbdd681d88405984250842dc30d5177058c66eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Sat, 16 Nov 2024 12:13:36 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[PHP=208.4]=20mysqli=E6=8B=A1=E5=BC=B5?= =?UTF-8?q?=E3=83=A2=E3=82=B8=E3=83=A5=E3=83=BC=E3=83=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/mysqli/constants.xml | 51 +++++++++++------------ reference/mysqli/mysqli/kill.xml | 6 +-- reference/mysqli/mysqli/ping.xml | 8 ++-- reference/mysqli/mysqli/refresh.xml | 6 +-- reference/mysqli/mysqli/store-result.xml | 4 +- reference/mysqli/mysqli_stmt/attr-set.xml | 2 +- 6 files changed, 38 insertions(+), 39 deletions(-) diff --git a/reference/mysqli/constants.xml b/reference/mysqli/constants.xml index 78815d28fa6..ca1e62c4988 100644 --- a/reference/mysqli/constants.xml +++ b/reference/mysqli/constants.xml @@ -263,7 +263,6 @@ - MYSQLI_STORE_RESULT_COPY_DATA @@ -271,17 +270,17 @@ - As of PHP 8.1, this constants no longer has any effect. - Before PHP 8.1, this constant is used to copy results - from the internal mysqlnd buffer - into the PHP variables fetched. - By default, mysqlnd will use a reference logic - to avoid copying and duplicating results held in memory. - For certain result sets, for example, result sets with many small rows, - the copy approach can reduce the overall memory usage - because PHP variables holding results may be released earlier. - Available with mysqlnd only. - Deprecated as of PHP 8.4.0. + PHP 8.1 以降、この定数はもはや意味をなしません。 + PHP 8.1 より前は、 + mysqlnd の内部バッファに格納されたフェッチ結果を + PHP 変数へコピーするために使用されていました。 + デフォルトでは mysqlnd は、メモリ内の結果を + 重複させないようにコピーではなく参照ロジックを使用します。 + しかし、特定の結果セット、たとえば多数の小さな行を持つ結果セットでは、 + PHP 変数を個別で早期に解放できるコピー方式の方が + 全体的なメモリ使用量を削減る可能性があります。 + mysqlnd のみで利用可能です。 + PHP 8.4.0 で非推奨となりました。 @@ -820,7 +819,7 @@ - Field is defined as VECTOR. + フィールドは VECTOR と定義されています。 @@ -861,7 +860,7 @@ - Removed as of PHP 8.4.0. + PHP 8.4.0 で削除されました。 @@ -892,7 +891,7 @@ - Removed as of PHP 8.4.0. + PHP 8.4.0 で削除されました。 @@ -913,7 +912,7 @@ - Removed as of PHP 8.4.0. + PHP 8.4.0 で削除されました。 @@ -1021,7 +1020,7 @@ 権限テーブルをリフレッシュします。 - Deprecated as of PHP 8.4.0. + PHP 8.4.0 で非推奨となりました。 @@ -1034,7 +1033,7 @@ ログをフラッシュします。SQLFLUSH LOGS を実行するのと同じです。 - Deprecated as of PHP 8.4.0. + PHP 8.4.0 で非推奨となりました。 @@ -1047,7 +1046,7 @@ テーブルキャッシュをフラッシュします。SQLFLUSH TABLES を実行するのと同じです。 - Deprecated as of PHP 8.4.0. + PHP 8.4.0 で非推奨となりました。 @@ -1060,7 +1059,7 @@ ホストキャッシュをフラッシュします。SQLFLUSH HOSTS を実行するのと同じです。 - Deprecated as of PHP 8.4.0. + PHP 8.4.0 で非推奨となりました。 @@ -1072,7 +1071,7 @@ MYSQLI_REFRESH_SLAVE のエイリアスです。 - PHP 8.1.0 以降で利用可能です。Deprecated as of PHP 8.4.0. + PHP 8.1.0 以降で利用可能です。PHP 8.4.0 で非推奨となりました。 @@ -1085,7 +1084,7 @@ 状態変数をリセットします。SQLFLUSH STATUS を実行するのと同じです。 - Deprecated as of PHP 8.4.0. + PHP 8.4.0 で非推奨となりました。 @@ -1097,7 +1096,7 @@ スレッドキャッシュをフラッシュします。 - Deprecated as of PHP 8.4.0. + PHP 8.4.0 で非推奨となりました。 @@ -1112,7 +1111,7 @@ マスタサーバーの情報をリセットしてスレーブを再起動します。 SQLRESET SLAVE を実行するのと同じです。 - Deprecated as of PHP 8.4.0. + PHP 8.4.0 で非推奨となりました。 @@ -1127,7 +1126,7 @@ バイナリログインデックスにあるバイナリログファイルを削除してインデックスファイルを切り詰めます。 SQLRESET MASTER を実行するのと同じです。 - Deprecated as of PHP 8.4.0. + PHP 8.4.0 で非推奨となりました。 @@ -1140,7 +1139,7 @@ Closes and reopens the backup log files. - Deprecated as of PHP 8.4.0. + PHP 8.4.0 で非推奨となりました。 diff --git a/reference/mysqli/mysqli/kill.xml b/reference/mysqli/mysqli/kill.xml index 38f6bb8cd54..471ca476ae0 100644 --- a/reference/mysqli/mysqli/kill.xml +++ b/reference/mysqli/mysqli/kill.xml @@ -73,9 +73,9 @@ 8.4.0 - Both mysqli::kill and - mysqli_kill are now deprecated. Use the - KILL SQL command instead. + mysqli::kill と + mysqli_kill は非推奨となりました。代わりに + KILL SQL コマンドを使用してください。 diff --git a/reference/mysqli/mysqli/ping.xml b/reference/mysqli/mysqli/ping.xml index 583d6e4c421..9b5ba9a1127 100644 --- a/reference/mysqli/mysqli/ping.xml +++ b/reference/mysqli/mysqli/ping.xml @@ -78,10 +78,10 @@ 8.4.0 - Both mysqli::ping and - mysqli_ping are now deprecated. - The reconnect feature has not been available - as of PHP 8.2.0, making this function obsolete. + mysqli::ping と + mysqli_ping は非推奨となりました。 + reconnect 機能は + PHP 8.2.0 で廃止されたため、この関数はもはや必要ありません。 diff --git a/reference/mysqli/mysqli/refresh.xml b/reference/mysqli/mysqli/refresh.xml index 610aa218ce2..66fab7a7ca6 100644 --- a/reference/mysqli/mysqli/refresh.xml +++ b/reference/mysqli/mysqli/refresh.xml @@ -74,9 +74,9 @@ 8.4.0 - Both mysqli::refresh and - mysqli_refresh are now deprecated. - Use FLUSH SQL commands instead. + mysqli::refresh と + mysqli_refresh は非推奨となりました。代わりに + FLUSH SQL コマンドを使用してください。 diff --git a/reference/mysqli/mysqli/store-result.xml b/reference/mysqli/mysqli/store-result.xml index a54d825b1f2..fb1a31b3d63 100644 --- a/reference/mysqli/mysqli/store-result.xml +++ b/reference/mysqli/mysqli/store-result.xml @@ -113,8 +113,8 @@ 8.4.0 - Passing the mode parameter is now deprecated. - The parameter has had no effect as of PHP 8.1.0. + mode パラメータの指定は非推奨となりました。 + PHP 8.1 以降では、このパラメータを指定しても意味はありません。 diff --git a/reference/mysqli/mysqli_stmt/attr-set.xml b/reference/mysqli/mysqli_stmt/attr-set.xml index 7dea5ecc978..c0fe9c56fa4 100644 --- a/reference/mysqli/mysqli_stmt/attr-set.xml +++ b/reference/mysqli/mysqli_stmt/attr-set.xml @@ -71,7 +71,7 @@ カーソルの使用時にサーバーからいちどに取得する行数。 value に指定できる値の範囲は 1 から unsigned long の最大値までで、デフォルトは 1 です。 - Removed as of PHP 8.4.0. + PHP 8.4.0 で削除されました。