PHP 7.2.x から PHP 7.3.x への移行の勝手な日本語訳 後方互換のない変更⑤
PHP 7.2.x から PHP 7.3.x への移行の日本語訳がないので勝手に翻訳して備忘録にする。
https://www.php.net/manual/ja/migration73.incompatible.php
Miscellaneous
その他
The ext_skel utility has been completely redesigned with new options and some old options removed. This is now written in PHP and has no external dependencies.
ext_skelユーティリティは、新しいオプションといくつかの古いオプションを削除して完全に再設計されました。 これは現在PHPで書かれており、外部の依存関係はありません。
Support for BeOS has been dropped.
BeOSのサポートは終了しました。
Exceptions thrown due to automatic conversion of warnings into exceptions in EH_THROW mode (e.g. some DateTime exceptions) no longer populate error_get_last() state. As such, they now work the same way as manually thrown exceptions.
EH_THROWモードでの警告から例外への自動変換によってスローされた例外(例えば、いくつかのDateTime例外)は、error_get_last()状態を生成しなくなりました。 そのため、現在は手動で例外をスローするのと同じように機能します。
TypeError now reports wrong types as int and bool instead of integer and boolean, respectively.
TypeErrorは、間違った型をそれぞれintegerとbooleanではなくintとboolとして報告するようになりました。
Undefined variables passed to compact() will now be reported as a notice.
compact()に渡された未定義の変数は、通知として報告されるようになります。
getimagesize() and related functions now report the mime type of BMP images as image/bmp instead of image/x-ms-bmp, since the former has been registered with the IANA (see » RFC 7903).
getimagesize()と関連する関数はBMPイメージのMIMEタイプをimage / x-ms-bmpではなくimage / bmpとして報告するようになりました。前者はIANAに登録されているからです(»RFC 7903を参照)。
stream_socket_get_name() will now return IPv6 addresses wrapped in brackets. For example "[::1]:1337" will be returned instead of "::1:1337".
stream_socket_get_name()は、括弧で囲まれたIPv6アドレスを返すようになりました。 たとえば、 ":: 1:1337"の代わりに "[:: 1]:1337"が返されます。
|