diff --git a/reference/curl/constants_curl_setopt.xml b/reference/curl/constants_curl_setopt.xml index 936d230a76..5cf51ba8bf 100644 --- a/reference/curl/constants_curl_setopt.xml +++ b/reference/curl/constants_curl_setopt.xml @@ -1,6 +1,6 @@ - + <function>curl_setopt</function> @@ -1580,7 +1580,7 @@ 別のサーバーにリレーされる送信メッセージの認証アドレス (アイデンティティ) を string で指定します。 - アドレスは山括弧 (><) で囲まずに指定してください。 + アドレスは山括弧 (<>) で囲まずに指定してください。 空の string が使われた場合、RFC 2554 に従って山括弧の組が送信されます。 cURL 7.25.0 以降で利用可能です。 @@ -1594,7 +1594,7 @@ SMTP メール送信時の送信者のメールアドレスを string で指定します。 - このメールアドレスは、山括弧 (><) で囲んで指定する必要があり、 + このメールアドレスは、山括弧 (<>) で囲んで指定する必要があり、 指定されていない場合は自動的に追加されます。 このパラメーターが指定されていない場合、空のアドレスが SMTP サーバーに送信され、メールが拒否される可能性があります。 @@ -1611,7 +1611,7 @@ SMTP メールリクエストでサーバーに渡す受信者を、 stringarray で設定します。 - それぞれの受信者は、対になった山括弧 (><) で囲んで指定する必要があります。 + それぞれの受信者は、対になった山括弧 (<>) で囲んで指定する必要があります。 最初の文字が山括弧でない場合、 cURL は単一のメールアドレスが渡されたものと仮定し、 そのアドレスを括弧で囲みます。 @@ -3851,7 +3851,7 @@ telnet ネゴシエーションに渡す stringarray を指定します。 - 変数は >option=value< 形式である必要があります。 + 変数は <option=value> 形式である必要があります。 cURLは、TTYPEXDISPLOCNEW_ENV をサポートしています。 cURL 7.7.0 以降で利用可能です。 diff --git a/reference/datetime/datetimeimmutable/createfromformat.xml b/reference/datetime/datetimeimmutable/createfromformat.xml index 7d274f2bd5..25464af9d8 100644 --- a/reference/datetime/datetimeimmutable/createfromformat.xml +++ b/reference/datetime/datetimeimmutable/createfromformat.xml @@ -1,6 +1,6 @@ - + @@ -344,7 +344,7 @@ (時、分、秒、マイクロ秒については 0。 月、日については 1。 年については 1970。 - タイムゾーンについては UTC) + タイムゾーンについてはデフォルトのタイムゾーン) にリセットします。 ! がなければ、すべてのフィールドは現在の日時に設定されます。 diff --git a/reference/datetime/datetimezone/gettransitions.xml b/reference/datetime/datetimezone/gettransitions.xml index 4b242fe14c..4b167ed5ba 100644 --- a/reference/datetime/datetimezone/gettransitions.xml +++ b/reference/datetime/datetimezone/gettransitions.xml @@ -1,6 +1,6 @@ - + @@ -15,14 +15,14 @@ public arrayfalseDateTimeZone::getTransitions inttimestampBeginPHP_INT_MIN - inttimestampEndPHP_INT_MAX + inttimestampEnd2147483647 &style.procedural; arrayfalsetimezone_transitions_get DateTimeZoneobject inttimestampBeginPHP_INT_MIN - inttimestampEndPHP_INT_MAX + inttimestampEnd2147483647 @@ -110,6 +110,29 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.1.0 + + timestampEnd のデフォルト値が 2147483647 に変更されました。 + 以前は PHP_INT_MAX でした。 + + + + + + + &reftitle.examples; diff --git a/reference/fpm/status.xml b/reference/fpm/status.xml index 90cada2816..67a38bf559 100644 --- a/reference/fpm/status.xml +++ b/reference/fpm/status.xml @@ -1,6 +1,6 @@ - + FPM の情報ページ @@ -46,9 +46,8 @@ - Order Allow,Deny - Allow from 127.0.0.1 - ProxyPass "unix:/var/run/php-fpm.sock|fcgi://localhost/fpm-status" + Require local + ProxyPass "unix:/var/run/php-fpm.sock|fcgi://localhost/" ]]> diff --git a/reference/image/functions/imagedestroy.xml b/reference/image/functions/imagedestroy.xml index a3064383b4..be9ba99388 100644 --- a/reference/image/functions/imagedestroy.xml +++ b/reference/image/functions/imagedestroy.xml @@ -1,6 +1,6 @@ - + @@ -53,6 +53,12 @@ + + 8.5.0 + + この関数は推奨されなくなりました。 + + 8.0.0 diff --git a/reference/network/functions/setcookie.xml b/reference/network/functions/setcookie.xml index 51c908f2e3..aa31ccafdd 100644 --- a/reference/network/functions/setcookie.xml +++ b/reference/network/functions/setcookie.xml @@ -1,6 +1,6 @@ - + setcookie @@ -163,7 +163,8 @@ expires, path, domain, secure, httponly および samesite のうちから、任意のキーを設定可能な連想配列(array)です。 - これら以外のキーが存在する場合、E_WARNING レベルの警告が発生します。 + + 値については、キーと同じ名前のパラメーターで説明した意味と同じです。 samesite 要素の値は、 None, Lax または Strict です。 @@ -171,6 +172,7 @@ デフォルト値は明示的にパラメータを与えた場合のデフォルト値と同じです。 samesite 要素が省略された場合は、SameSite クッキー属性は設定されません。 + 上のリストにないキーをクッキーの属性に設定する場合、 @@ -201,6 +203,25 @@ + + &reftitle.errors; + + options 配列にサポートされていないキーが含まれている場合: + + + + + PHP 8.0.0 より前のバージョンでは、E_WARNING が発生していました。 + + + + + PHP 8.0.0 以降では、ValueError がスローされます。 + + + + + &reftitle.changelog; @@ -219,6 +240,13 @@ これより前のバージョンでは 'D, d-M-Y H:i:s T' でした。 + + 8.0.0 + + サポートされていないキーを渡すと、E_WARNING + を発生させる代わりに ValueError をスローするようになりました。 + + 7.3.0 diff --git a/reference/opcache/functions/opcache-is-script-cached.xml b/reference/opcache/functions/opcache-is-script-cached.xml index ec4754fba0..8cf8396b40 100644 --- a/reference/opcache/functions/opcache-is-script-cached.xml +++ b/reference/opcache/functions/opcache-is-script-cached.xml @@ -1,6 +1,6 @@ - + @@ -19,6 +19,8 @@ これは、特定のスクリプトに対するキャッシュの "ウォーミング" をより簡単に検出するために使用できます。 この関数は、インメモリキャッシュ の情報だけをチェックします。 ファイルキャッシュ の情報はチェックしません。 + ファイルキャッシュをチェックするには、 + opcache_is_script_cached_in_file_cache を使います。 @@ -39,7 +41,7 @@ &reftitle.returnvalues; - filename が OPCache にキャッシュされている場合、&true; を、 + filename が OPCache のインメモリキャッシュにキャッシュされている場合、&true; を、 そうでなければ &false; を返します。 @@ -48,6 +50,7 @@ &reftitle.seealso; opcache_compile_file + opcache_is_script_cached_in_file_cache diff --git a/reference/pcre/functions/preg-match-all.xml b/reference/pcre/functions/preg-match-all.xml index 75cd7e4024..e40eda158e 100644 --- a/reference/pcre/functions/preg-match-all.xml +++ b/reference/pcre/functions/preg-match-all.xml @@ -1,6 +1,6 @@ - + @@ -63,6 +63,10 @@ flags + + flags を指定しない場合は、 + PREG_PATTERN_ORDER が指定されたことになります。 + 以下のフラグの組み合わせ (PREG_PATTERN_ORDER と @@ -249,10 +253,6 @@ Array - - flags を指定しない場合は、 - PREG_PATTERN_ORDER が指定されたことになります。 - diff --git a/reference/random/functions/rand.xml b/reference/random/functions/rand.xml index 1b131724ad..c21b57d137 100644 --- a/reference/random/functions/rand.xml +++ b/reference/random/functions/rand.xml @@ -1,6 +1,6 @@ - + @@ -144,9 +144,9 @@ echo rand(5, 15), "\n"; min から max までの幅を getrandmax の範囲内におさめる必要があります。 - つまり、(max - - min) <= getrandmax - でなければいけないということです。この範囲をこえてしまうと、 + つまり、abs(max - min) <= + getrandmax でなければいけないということです。 + この範囲をこえてしまうと、 rand が返す値のランダム性が、 低品質になってしまいます。 diff --git a/reference/session/functions/session-cache-limiter.xml b/reference/session/functions/session-cache-limiter.xml index cb128b9d14..22988e7f18 100644 --- a/reference/session/functions/session-cache-limiter.xml +++ b/reference/session/functions/session-cache-limiter.xml @@ -1,6 +1,6 @@ - + @@ -78,7 +78,7 @@ @@ -89,7 +89,7 @@ Last-Modified: (セッションが最後に保存されたときのタイムス @@ -101,7 +101,7 @@ Last-Modified: (セッションが最後に保存されたときのタイムス diff --git a/reference/spl/splfileinfo/iswritable.xml b/reference/spl/splfileinfo/iswritable.xml index d1c5205069..f131861371 100644 --- a/reference/spl/splfileinfo/iswritable.xml +++ b/reference/spl/splfileinfo/iswritable.xml @@ -1,6 +1,6 @@ - + SplFileInfo::isWritable @@ -34,13 +34,13 @@ &reftitle.examples; - <methodname>SplFileInfo::isWriteable</methodname> の例 + <methodname>SplFileInfo::isWritable</methodname> の例 isWriteable()) { - echo $info->getFilename() . ' is not writeable'; +if (!$info->isWritable()) { + echo $info->getFilename() . ' is not writable'; } ?> ]]> @@ -48,7 +48,7 @@ if (!$info->isWriteable()) { &example.outputs.similar; diff --git a/reference/xhprof/ini.xml b/reference/xhprof/ini.xml index 3a160307dc..9fafb81bad 100644 --- a/reference/xhprof/ini.xml +++ b/reference/xhprof/ini.xml @@ -1,6 +1,6 @@ - +
&reftitle.runtime;