WEBシステム開発・デザイン制作などすべての作業を一貫してご提供しております。(大阪・東京近辺)

WEB開発/PHPをバージョンアップすればWEBアプリケーションが高速化する?

2008年8月にPHP5.3 Alpha1がリリースされています。
PHP5.2から5.3にバージョンアップしますが、内容の方はマイナーバージョンではなく
メジャーバージョンアップと言ってもいいほどの改良が加えられています。

時期PHP6への移行をスムーズに行うために、PHP6の機能をあらかじめ実装しているらしいです。
では5.2から5.3へバージョンアップしたら、5.2以前で作られたWEBアプリケーションは
実行エラーになる気もしますが、ほとんど変更無く動くらしいので安心しました。

PHP5.3のちょい気になる項目として
処理速度の改善があります。

処理速度とメモリーの使用量が改善されているので、5.3へ移行するだけで既存のWEBアプリケーションの
処理速度が上がる可能性があります。

オープンソフトで、パフォーマンスが落ちて悩んでいる方は検討してみるといいかもしれませんね。

弊社が行った5.3のベンチマーク結果は、後ほど公開したいと思います。

PHP 5.3 alpha1 released!
[01-Aug-2008]

The PHP development team is proud to announce the first alpha release of the upcoming minor version update of PHP. Windows binaries will be available starting with alpha2 (intermediate snapshots available at snaps.php.net). The new version PHP 5.3 is expected to improve stability and performance as well as add new language syntax and extensions. Several new features have already been documented in the official documentation, others are listed on the wiki in preparation of getting documented. Please also review the NEWS file.
THIS IS A DEVELOPMENT PREVIEW – DO NOT USE IT IN PRODUCTION!

The purpose of this alpha release is to encourage users to not only actively participate in identifying bugs, but also in ensuring that all new features or necessary backwards compatibility breaks are noted in the documentation. Please report any findings to the QA mailinglist or the bug tracker.

There have been a great number of other additions and improvements, but here is a short overview of the most important changes:

* Namespaces (documentation maybe out dated)
* Late static binding and __callStatic
* Lambda functions and closures
* Addition of the intl, phar (phar is scheduled for some more work a head of alpha2), fileinfo and sqlite3 extensions
* Optional cyclic garbage collection
* Optional support for the MySQLnd replacement driver for libmysql
* Windows older than Windows 2000 (Windows 98, NT4, etc.) are not supported anymore (details)
* New syntax features like NOWDOC, limited GOTO, ternary short cut “?:”

Several under the hood changes also require in depth testing with existing applications to ensure that any backwards compatibility breaks are minimized. This is especially important for users that require the undocumented Zend engine multibyte support.

The current release plan states that there will be alpha/beta/RC releases in 2-3 week intervals with an expected stable release of PHP 5.3 between mid September and mid October of 2008.

PHP5.3のダウンロード
downloads.php.net/johannes/