Notification: PHP 5.4.8

Analysis
Oct 29, 20122 mins

PHPバージョン5.4.8

プロジェクトホーム: https://www.php.net/

ライセンス: https://olex.openlogic.com/licenses/php-v3_01-license

広く使用されている言語のPHPは、Web開発を主な目的としたスクリプティングを提供します。PHPHTMLに埋め込まれ、Linuxや多くのUnixMicrosoft WindowsMac OS XRISC OSなどのすべてのメジャーなオペレーティングシステムと互換性があります。そしてほぼすべてのメジャーなWebサーバ上で動作します。

サーバサイドやコマンドラインスクリプトでPHPを使用します。サーバサイドスクリプティングを使用する場合、PHPサーバに加えてWebサーバとWebブラウザが必要です。

A widely-used language, PHP offers general purpose scripting that is well suited for Web development. It can be embedded into HTML, and is compatible with all major operating systems such as Linux, many Unix variants, Microsoft Windows, Mac OS X, RISC OS and more. It works with most major Web servers. 

Use PHP for server side or command line scripting. To use PHP for server side scripting, you need a Web server and a Web browser in addition to the PHP parser.

全てのPHP5.4.8のリリースノートはこちらをご参照ください。

CLIサーバ

  • RFCによって、理由から未知のHTTPメソッドから501にレスポンスの変更
  • HTTP PATCHメソッドのサポート

コア

  • カスタムメッセージを指定するためのassert()に対する任意の2番目の引数の追加
  • ネイティブクライアントtoolchainでPHPを構築するサポート
  • –offlineオプションの追加
  • バグの修正#63162 (parse_urlがパスワードコンポーネントと一致しません)
  • バグの修正#63111 (is_callable()がabstract staticメソッドに対し正確な情報を送信しません)
  • バグの修正#63093 (zts-buildビルドでload extensionが失敗した場合のSegfault)
  • バグの修正#62976 (注意:  いくつかのbuiltinクラスを比較する場合にintに変換できません)
  • バグの修正#62955 (Windowsレジストリ”Per Directory Values”から1つのみのディレクトリが読み込まれる)
  • バグの修正#62907 (トレイトを使用した場合のDouble freeエラー)
  • バグの修正#61767 (ある特定のエラー状態の場合にシャットダウン関数が呼ばれません)
  • バグの修正#60909 (カスタムエラーハンドラが例外を投げる+致命的エラー=no shutdown関数)
  • バグの修正#60723 (デフォルトのタイムゾーンを無視してerror_logエラータイムはUTCに変更されました)

Full PHP 5.4.8 Release Notes

CLI server

  • Changed response to unknown HTTP method to 501 according to RFC.  
  • Support HTTP PATCH method.

Core

  • Added optional second argument for assert() to specify custom message.
  • Support building PHP with the native client toolchain.
  • Added –offline option for tests.
  • Fixed bug #63162 (parse_url does not match password component).
  • Fixed bug #63111 (is_callable() lies for abstract static method).
  • Fixed bug #63093 (Segfault while load extension failed in zts-build).
  • Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes).
  • Fixed bug #62955 (Only one directive is loaded from “Per Directory Values” Windows registry).
  • Fixed bug #62907 (Double free when use traits).
  • Fixed bug #61767 (Shutdown functions not called in certain error situation).
  • Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function).
  • Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezone).