From d71967a4462479eb28432cd218119c8b133cd2c4 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: Thu, 29 Oct 2026 23:08:48 +0900 Subject: [PATCH] =?UTF-8?q?curl=E3=83=BBdatetime=20=E3=81=BB=E3=81=8B?= =?UTF-8?q?=E8=A4=87=E6=95=B0=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E3=82=92=E5=8E=9F=E6=96=87=E3=81=AE=E5=A4=89=E6=9B=B4?= =?UTF-8?q?=E3=81=AB=E8=BF=BD=E5=BE=93=20(13=E3=83=95=E3=82=A1=E3=82=A4?= =?UTF-8?q?=E3=83=AB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appendices/filters.xml | 4 +- appendices/migration84/new-functions.xml | 4 +- reference/curl/functions/curl-exec.xml | 13 ++++-- .../curl/functions/curl-multi-strerror.xml | 9 ++-- .../curl/functions/curl-share-strerror.xml | 8 ++-- reference/curl/functions/curl-strerror.xml | 9 ++-- reference/curl/functions/curl-version.xml | 43 ++++++++++++++++--- reference/datetime/formats.xml | 23 ++++++++-- .../functions/date-parse-from-format.xml | 6 +-- reference/mysqlnd/stats.xml | 16 +++---- .../random/random/randomizer/getfloat.xml | 6 +-- .../functions/snmp-get-valueretrieval.xml | 2 +- reference/zip/constants.xml | 4 +- 13 files changed, 101 insertions(+), 46 deletions(-) diff --git a/appendices/filters.xml b/appendices/filters.xml index d724de7bfb4..f9848af2279 100644 --- a/appendices/filters.xml +++ b/appendices/filters.xml @@ -1,6 +1,6 @@ - + @@ -201,7 +201,7 @@ fclose($fp); -
+
convert.quoted-printable-encode と convert.quoted-printable-decode これらのフィルタのうち、デコードフィルタはすべてのストリームデータに diff --git a/appendices/migration84/new-functions.xml b/appendices/migration84/new-functions.xml index 89a5d9212ab..a677ebd4770 100644 --- a/appendices/migration84/new-functions.xml +++ b/appendices/migration84/new-functions.xml @@ -1,6 +1,6 @@ - + 新しく追加された関数 @@ -210,7 +210,7 @@ sodium_crypto_aead_aegis128l_* - sodium_crypto_aead_aegis256l_* + sodium_crypto_aead_aegis256_* diff --git a/reference/curl/functions/curl-exec.xml b/reference/curl/functions/curl-exec.xml index 6ada1d259bf..34093ec68cb 100644 --- a/reference/curl/functions/curl-exec.xml +++ b/reference/curl/functions/curl-exec.xml @@ -1,6 +1,6 @@ - + @@ -34,13 +34,20 @@ &reftitle.returnvalues; - + 成功時には、この関数は結果を直接 stdout にフラッシュし、&true; を返します。&return.falseforfailure; しかし、オプション CURLOPT_RETURNTRANSFER が設定されていると、 成功した場合に取得結果を、失敗した場合に &false; を返します。 - + + + CURLOPT_FILE を設定した場合は指定したファイルに結果が書き込まれ、 + CURLOPT_WRITEFUNCTION を設定した場合は指定したコールバックに結果が渡されます。 + どちらの場合も stdout には何も書き込まれず、成功時には &true; を返します。 + 結果の出力先は、これらのオプションと CURLOPT_RETURNTRANSFER + のうち、最後に設定したもので決まります。 + &return.falseproblem; diff --git a/reference/curl/functions/curl-multi-strerror.xml b/reference/curl/functions/curl-multi-strerror.xml index 71d0d14d684..46d3752df45 100644 --- a/reference/curl/functions/curl-multi-strerror.xml +++ b/reference/curl/functions/curl-multi-strerror.xml @@ -1,6 +1,6 @@ - + @@ -38,9 +38,10 @@ &reftitle.returnvalues; - - 有効なエラーコードを指定した場合は、それに対応する文字列を返します。それ以外の場合は &null; を返します。 - + + エラーの説明を返します。不明なエラーコードの場合は + "Unknown error" を返します。 + diff --git a/reference/curl/functions/curl-share-strerror.xml b/reference/curl/functions/curl-share-strerror.xml index 67ce29d6d6a..a529c84d11c 100644 --- a/reference/curl/functions/curl-share-strerror.xml +++ b/reference/curl/functions/curl-share-strerror.xml @@ -1,6 +1,6 @@ - + @@ -35,10 +35,10 @@ &reftitle.returnvalues; - + エラーの説明を返します。 - 不正なエラーコードの場合は、&null; を返します。 - + 不明なエラーコードの場合は "CURLSHcode unknown" を返します。 + diff --git a/reference/curl/functions/curl-strerror.xml b/reference/curl/functions/curl-strerror.xml index eec28d46156..3f79d804513 100644 --- a/reference/curl/functions/curl-strerror.xml +++ b/reference/curl/functions/curl-strerror.xml @@ -1,6 +1,6 @@ - + @@ -37,9 +37,10 @@ &reftitle.returnvalues; - - エラーの説明を返します。無効なエラーコードを指定した場合は &null; を返します。 - + + エラーの説明を返します。不明なエラーコードの場合は + "Unknown error" を返します。 + diff --git a/reference/curl/functions/curl-version.xml b/reference/curl/functions/curl-version.xml index 9170a8922ea..0115e0a29b7 100644 --- a/reference/curl/functions/curl-version.xml +++ b/reference/curl/functions/curl-version.xml @@ -1,6 +1,6 @@ - + @@ -47,7 +47,7 @@ ssl_version_number - OpenSSL の 24 ビットのバージョン番号 + libcurl が設定しなくなったため、常に 0 ssl_version @@ -63,7 +63,10 @@ age - + + libcurl が返すバージョン情報の世代。新しいバージョンの libcurl + ほど大きな値 + features @@ -80,6 +83,34 @@ もしくはサポートされていない(&false;) かどうかを示す値 + + ares + c-ares のバージョンを表す文字列。cURL が c-ares なしでビルドされている場合は空文字列 + + + ares_num + c-ares のバージョン番号。cURL が c-ares なしでビルドされている場合は 0 + + + libidn + libidn2 のバージョンを表す文字列。cURL が libidn2 なしでビルドされている場合は空文字列 + + + iconv_ver_num + iconv のバージョン番号。cURL が iconv なしでビルドされている場合は 0 + + + libssh_version + SSH ライブラリの名前とバージョンを表す文字列。cURL が SSH のサポートなしでビルドされている場合は空文字列 + + + brotli_ver_num + Brotli のバージョン番号。cURL が Brotli なしでビルドされている場合は 0 + + + brotli_version + Brotli のバージョンを表す文字列。cURL が Brotli なしでビルドされている場合は空文字列 + @@ -100,7 +131,7 @@ 8.4.0 - features_list が追加されました。 + feature_list が追加されました。 @@ -127,11 +158,11 @@ <function>curl_version</function> の例 - + この例では、cURL でどの機能が使えるのかを調べるために curl_version の返すビットマスク 'features' を使用します。 - + - + サポートする日付と時刻の書式 @@ -637,6 +637,16 @@ object(DateTimeImmutable)#1 (3) { + + daysuf + "st" | "nd" | "rd" | "th" + + + + dd + ([0-2]?[0-9] | "3"[01]) daysuf? + "7th", "22nd", "31" + DD "0" [0-9] | [1-2][0-9] | "3" [01] @@ -654,8 +664,8 @@ object(DateTimeImmutable)#1 (3) { hh - "0"?[1-9] | "1"[0-2] - "04", "7", "12" + [01]?[0-9] | "2"[0-4] + "04", "9", "19" HH @@ -682,6 +692,11 @@ object(DateTimeImmutable)#1 (3) { 'jan' | 'feb' | 'mar' | 'apr' | 'may' | 'jun' | 'jul' | 'aug' | 'sep' | 'sept' | 'oct' | 'nov' | 'dec' + + mm + "0"? [0-9] | "1"[0-2] + "0", "04", "7", "12" + MM [0-1][0-9] @@ -800,7 +815,7 @@ object(DateTimeImmutable)#1 (3) { Common Log Format - dd "/" M "/" YY : HH ":" II ":" SS space tzcorrection + dd "/" M "/" YY ":" HH ":" II ":" SS space tzcorrection "10/Oct/2000:13:55:36 -0700" diff --git a/reference/datetime/functions/date-parse-from-format.xml b/reference/datetime/functions/date-parse-from-format.xml index 96078e4cc27..328f64385ff 100644 --- a/reference/datetime/functions/date-parse-from-format.xml +++ b/reference/datetime/functions/date-parse-from-format.xml @@ -1,6 +1,6 @@ - + @@ -103,10 +103,10 @@ &reftitle.errors; - + datetime に NULLバイトが含まれている場合は、 ValueError がスローされます。 - + diff --git a/reference/mysqlnd/stats.xml b/reference/mysqlnd/stats.xml index 0cc2643eefe..153e845830b 100644 --- a/reference/mysqlnd/stats.xml +++ b/reference/mysqlnd/stats.xml @@ -1,6 +1,6 @@ - + 統計情報 @@ -1547,18 +1547,18 @@ $link->real_connect(/* ... */); mem_emalloc_count - mem_emalloc_ammount + mem_emalloc_amount mem_ecalloc_count - mem_ecalloc_ammount + mem_ecalloc_amount mem_realloc_count - mem_realloc_ammount + mem_realloc_amount mem_efree_count mem_malloc_count - mem_malloc_ammount + mem_malloc_amount mem_calloc_count - mem_calloc_ammount - mem_ealloc_count - mem_ealloc_ammount + mem_calloc_amount + mem_erealloc_count + mem_erealloc_amount mem_free_count diff --git a/reference/random/random/randomizer/getfloat.xml b/reference/random/random/randomizer/getfloat.xml index fc943ae1093..c0fd8600016 100644 --- a/reference/random/random/randomizer/getfloat.xml +++ b/reference/random/random/randomizer/getfloat.xml @@ -1,6 +1,6 @@ - + Random\Randomizer::getFloat @@ -201,8 +201,8 @@ このランダムな浮動小数点の値は、 - 1.625 から 2.75 まで - (2.75 を含まない) の右開きの区間に、 + 1.625 から 2.5 まで + (2.5 を含まない) の右開きの区間に、 区間の大きさ(0.875) を掛け合わせ、 最小の 1.625 を足すことで拡大変換できます。 この、いわゆるアフィン変換の結果は、以下のような値になります: diff --git a/reference/snmp/functions/snmp-get-valueretrieval.xml b/reference/snmp/functions/snmp-get-valueretrieval.xml index c5e5d198f75..205978a34d6 100644 --- a/reference/snmp/functions/snmp-get-valueretrieval.xml +++ b/reference/snmp/functions/snmp-get-valueretrieval.xml @@ -1,6 +1,6 @@ - + snmp_get_valueretrieval diff --git a/reference/zip/constants.xml b/reference/zip/constants.xml index f69dff9b759..8f81ee0b841 100644 --- a/reference/zip/constants.xml +++ b/reference/zip/constants.xml @@ -1,6 +1,6 @@ - + @@ -1261,7 +1261,7 @@ - + ZipArchive::OPSYS_OS_400 (int)