PHP 4.2.1 released

szsailing 2002-05-14 10:12:50
PHP 4.2.1 released
[13-May-2002] The PHP Group is happy to announce the immediate availability of PHP 4.2.1, the latest version of the widely-used, general-purpose scripting language that is especially well-suited for Web development.

This latest release contains several bug fixes as found in PHP 4.2.0. These include fixes for the session, com and mbstring extensions, as well as a major upgrade of the DomXML extension. Also a few extra checks for safe_mode were added. For more information, see the PHP 4.2.1 release announcement.

PHP 4.2.1 Release Announcement
[ Version Française ]

Bugfix release
This bug fix release solves a few bugs found in PHP 4.2.0. PHP 4.2.1 includes the following fixes:

Fix for the MySQL extension not be able to connect to a MySQL server.
Fix for a crash in the COM extension when using an outproc server.
Fix for SID logic in the session extension.
Fixes for the mbstring extension, including SJIS directory name handling and mb_output_buffer().
Fix for a bug in socket_select() that could cause unexpected behavior when using a statement like $w = $e = array($sock);
Almost full DOM compliance for the domxml extension, and fixes for several functions.
Safe_mode checks for show_source(), parse_ini_file() and rmdir().
For a full list of changes in PHP 4.2.1, see the NEWS file.

Compatibility
PHP 4.2.1 also has improved (but still experimental) support for Apache version 2. We do not recommend that you use this in a production environment, but feel free to test it and report bugs to the bug system.

External variables
We would also like to attend you on a big change in PHP 4.2.0 concerning variable handling. External variables (from the environment, the HTTP request, cookies or the web server) are no longer registered in the global scope by default. The preferred method of accessing these external variables is by using the new Superglobal arrays, introduced in PHP 4.1.0. More information about this change:

PHP Manual: Predefined variables
The PHP 4.1.0 release announcement
Thomas Oertli's article on secure programming in PHP

...全文
31 点赞 收藏 回复
写回复
回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复

还没有回复,快来抢沙发~

相关推荐
发帖
基础编程
创建于2007-09-28

2.1w+

社区成员

从PHP安装配置,PHP入门,PHP基础到PHP应用
申请成为版主
帖子事件
创建了帖子
2002-05-14 10:12
社区公告
暂无公告