ログイン



PHP5.4 アルファ版がリリース

火曜日, 7月 5th, 2011 by

PHP5.4のアルファ版がリリースされていました。リリースノートは以下のとおり。適当に日本語訳をいれてみました。4週間後、つまり、7月中には次のアルファがでるようです。運用環境にPHP5.4を投入するのは来年以降だと思いますが、早めに5.4の実験環境つくって新機能を試してみたいです。

PHP 5.4 alpha1 released

The PHP development team is proud to announce the first PHP 5.4 alpha release. PHP 5.4 includes new language features and removes several legacy (deprecated) behaviors. Read the NEWS file for a complete list of changes.
PHP開発チームは、PHP5.4の最初のアルファ版をリリースできることを光栄に思っております。PHP5.4では、いくつかの言語の拡張が行われるとともに、古い機能の削除も行われております。すべての変更項目はNEWSで確認いただけます。

THIS IS A DEVELOPMENT PREVIEW – DO NOT USE IT IN PRODUCTION!
PHP5.4は、開発者向けのプレビューリリースです。実運用環境には使わないでください!

This alpha release exists to encourage users to identify bugs, and to ensure that all new features and backward compatibility breaks are evaluated and documented before PHP 5.4.0 is released. Please report findings to the QA mailing list and/or the PHP bug tracker. Windows binaries can be downloaded from the Windows QA site.
このアルファ版は、すべての新機能やと、後方互換性に関わる問題を、5.4.0がリリースまでに評価し、ドキュメント化するためにリリースされたものです。不具合や気になる事柄などがありましたら、QAのメーリングリストやPHPのバグトラッカーに報告してください。Windows向けのバイナリはQAサイトより入手できます。

Here is an incomplete list of changes:
変更点の抜粋

Added: Traits language construct
Traitsの導入
Added: Array dereferencing support
以下のような構文のサポート。
>>function foo() {
>> return array(1, 2, 3);
>>}
>>echo foo()[2];
Added: DTrace support
→調査中 デバッグ関係だと思います。
Improved: Improved Zend Engine memory usage and performance
→メモリ消費が減っているそうです
Moved: ext/sqlite moved to pecl (sqlite3 support is still built-in)
sqliteをpeclに移動。(古くなったのでビルトイン関数から除去された?)

Please note that some legacy features have been removed, including:
以下の機能は削除されました。
Removed: break/continue $var syntax
Removed: register_globals, allow_call_time_pass_reference, and register_long_arrays ini options
Removed: session_is_regisitered(), session_registered(), and session_unregister()

This is the first release that adopts the releaseprocess RFC. The next alpha will be released within four weeks. The PHP 5.4 feature set and API has not been finalized.
PHP5.4アルファは、リリースプロセスRFCを使った初めてのリリースです。次のアルファ版は4週間以内にリリースされます。機能やAPIはまだ最終確定していません。今後も変更の可能性があります。

Leave a Reply