我的一亩三分地 我就喜欢!
13fen  设为主页
 收藏本站
 
当前位置: > 一亩三分地:首页 > 网络学院 > 网络编程 > PHP专区 > php安装/入门 > PHP 4.1.0 出版公告(中英对照版)2
热门文章排行
热门文章排行 检查email地址格式的代码(01-11)
PHP操作文件问答(01-11)
PHP安装攻略:安装并配置PHP(10-23)
PHP的十个高级技巧 4(10-23)
PHP控制语句(10-12)
精采文章排行
精采文章排行 PHP连接MYSQL的两种方法(11-15)
PHP和MySQL开发的8个技巧(10-23)
PHP安装攻略:安装并配置PHP(10-23)
php+mysql扎实个人基本功(10-23)
PHP编程常用技巧四则(10-23)
技术专题推荐
网管论坛交流
 

PHP 4.1.0 出版公告(中英对照版)2 

作者:佚名   来源:本站教程   点击:   日期:2007-01-10

PHP 4.1.0 Release Announcement

PHP 4.1.0 出版公告(2)


- Added support for single dimensional SafeArrays and Enumerations. Added an is_enum() function to check if a

component implements an enumeration. (Alan, Harald)

增加了支持一维 SafeArray 和 Enumerations.增加了 is_enum(0 来去定一个部件是否来自一个 enumeration

- Fixed a bug in dbase_get_record() and dbase_get_record_with_names(). boolean fields are now returned correctly.

Patch by Lawrence E. Widman (Jani)

修正了 dbase_get_record() 和 dbase_get_record_with_names() 的错误。现在能正确的返回 boolean 字段。

- Added --version option to php-config. (Stig)

增加了 --version 的配置选项

- Improved support for thttpd-2.21b by incorporating patches for all known bugs. (Sascha)

通过增加已知错误的补丁增强了对 thttpd-2.21b 的支持

- Added ircg_get_username, a roomkey argument to ircg_join, error fetching infrastructure, a tokenizer to speed up

message processing, and fixed a lot of bugs in the IRCG extension. (Sascha)

增加了 ircg_get_username,一个 ircg_join 的参数,错误取得机构,一个tokenizer 来加快信息处理,修正了 IRCG 扩展里面的许多

错误。

- Improved speed of the serializer/deserializer. (Thies, Sascha)

加快了序列化/反序列化的速度

- Floating point numbers are better detected when converting from strings. (Zeev, Zend Engine)

更好的检测从字符串到浮点数的转换

- Replaced php.ini-optimized with php.ini-recommended. As the name implies, it's warmly recommended to use this

file as the basis for your PHP configuration, rather than php.ini-dist. (Zeev)

把 php.ini-optimized 改名为 php.ini-recommended. 名字暗示着,他只是热心的推荐用户使用这个文件作为 PHP 的基础配置文件,

而不是使用 php.ini.dist

- Restore xpath_eval() and php_xpathptr_eval() for 4.0.7. There are still some known leaks. (Joey)

修复了 xpatch_eval()和 php_xpatchptr_eval(), 他们还有一些已知的漏洞

- Added import_request_variables(), to allow users to safely import form variables to the global scope (Zeev)

增加了 import_request_variables(),允许用户安全的从变量输出到全局范围

- Introduced a new $_REQUEST array, which includes any GET, POST or COOKIE variables. Like the other new

variables, this variable is also available regardless of the context. (Andi & Zeev)

引入了一个新的 $_REQUEST 数组,包括任何 GET,POST 或者 COOKIE 变量,和其他新变量一样,这个变量也是不用管他的上下文而可以使



- Introduced $_GET, $_POST, $_COOKIE, $_SERVER and $_ENV variables, which deprecate the old $HTTP_*_VARS arrays.

In addition to be much shorter to type - these variables are also available regardless of the scope, and there's

no need to import them using the 'global' statement. (Andi & Zeev)

引入了 $_GET,$POST,$COOKIE,$SERVER 和 $_ENV 变量,不赞成使用老的 $HTTP_*_VARS 数组。另外他们更加短,这些变量在任何范围

都可以使用,不需要使用 global 引用他们。

- Added vprintf() and vsprintf() functions that allow passing all arguments after format as an array. (Andrei)

增加了 bprintf()和vsprintf()函数,允许你在格式后面用数组作为参数。

- Added support for GD2 image type for ImageCreateFromString() (Jani)

增加了 GD2 图像格式的 ImageCreateFormString() 支持

- Added ImageCreateFromGD(), ImageCreateFromGD2(), ImageCreateFromGD2part(), ImageGD() and ImageGD2() functions

(Jani)

增加了以上几个函数

- addcslashes now warns when charlist is invalid. The returned string remained the same (Jeroen)

addcslashes 在字符列表非法是给处警告,返回以前的字符串

- Added optional extra argument to gmp_init(). The extra argument indicates which number base gmp should use when

converting a string to the gmp-number. (Troels)

增加了 gmp_init()可选的额外参数。参数指出在 gmp 把字符串转化为 gmp-number 时的数字基数

- Added the Cyrus-IMAP extension, which allows a direct interface to Cyrus' more advanced capabilities. (Sterling)

增加了 Cyrus-IMAP 扩展,允许一个到 Cyrus 的高级功能的直接借口

- Enhance read_exif_data() to support multiple comment tags (Rasmus)

增强了 read_exif_data(), 支持多个注释标记

- Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei)

修正了在 array_map() 里面在回调是一个 NULL 时的缺陷

- Change from E_ERROR to E_WARNING in the exif extension (Rasmus)

在 exif 扩展里面把 E_ERRPR 改成 E_WARNING

- New pow() implementation, which returns an integer when possible, and warnings on wrong input (jeroen)

新的 pow() 函数。可能的情况下返回一个整数,如果输入错误返回警告

- Added optional second parameter to trim, chop and ltrim. You can now specify which characters to trim (jeroen)

对 trim,chop,ltrim 增加了第二个参数,可以指定哪个字符被去掉

- Hugely improved the performance of the thread-safe version of PHP, especially under Windows (Andi & Zeev)

极大的提高了PHP 的线程版本的性能,特别是在 Windows 下面

- Improved request-shutdown performance significantly (Andi & Zeev, Zend Engine)

显著的改善了 请求中断(request-shutdown)的性能

- Added a few new math functions. (Jesus)

增加了一个新的数学函数

- Bump bundled expat to 1.95.2 (Thies)

[没看懂,好像压缩包升级到 1。95。2]

- Improved the stability of OCIPlogon() after a database restart. (Thies)

改善了在数据库重新启动后,OCIPlogon()的稳定性

- Fixed __FILE__ in the CGI & Java servlet modes when used in the main script. It only worked correctly in

included files before this fix (Andi)

修正了在主脚本里面使用 CGI/JAVA servlet 模式里的 __FILE__.在修正前他只对包含文件工作

- Improved the Zend hash table implementation to be much faster (Andi, Zend Engine)

改良了 Zend hash 表更加的快

- Updated PHP's file open function (used by include()) to check in the calling script's directory in case the file

can't be found in the include_path (Andi)

更新了文件打开函数(在include()里面使用的)能在include_path 没有找到文件的情况下在调用脚本的目录检测文件

- Fixed a corruption bug that could cause constants to become corrupted, and possibly prevent resources from

properly being cleaned up at the end of a request (Zeev)

修正了可能引起容器中断的错误,可能造成在请求完成后不能正确的清除

- Added optional use of Boyer-Moore algorithm to str_replace() (Sascha)

str_replace()增加了可选的Boyer-Moore 法则

- Fixed and improved shared-memory session storage module (Sascha)

修正并改良了共享内存事务存储模块

- Add config option (always_populate_raw_post_data) which when enabled will always populate $HTTP_RAW_POST_DATA

regardless of the post mime type (Rasmus)

增加了配置参数(always_populate_raw_post_data),允许情况下,无论任何post 类型,都捆绑 $HTTP_RAW_POST_DATA

- Added support for socket and popen file types to ftp_fput (Jason)

增加了 ftp_fput 的 socket 和 popen 文件类型

- Fixed various memory leaks in the LDAP extension (Stig Venaas)

修正了 LDAP 扩展里面的多种内存漏洞

- Improved interactive mode - it is now available in all builds of PHP, without any significant slowdown (Zeev,

Zend Engine)

改善了交互模式,在所有php里都可以用,不会有任何明显的速度减慢

- Fixed crash in iptcparse() if the supplied data was bogus. (Thies)

修正了 iptcprase()在提供的数据是伪造的情况下的缺陷,

- Fixed return value for a failed snmpset() - now returns false (Rasmus)

修正了 snmpset()的错误返回值为 false

- Added hostname:port support to snmp functions (nbougues@axialys.net, Rasmus)

增加了 snmp 函数的 主机名

文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【论坛讨论

   相关文章:
·将OICQ数据转成MYSQL数据 ·用PHP实现ODBC数据分页显示一例
·php生成WAP页面 ·PHP与Javascript的两种交互方式
·PHP+Javascript模拟Matrix画面 ·WHOIS类的修改版

   文章评论:(条)
  
 请留名: 匿名评论   点击查看所有评论 网管论坛
 

  责任编辑:一分  声明:刊登此文章是为了传递更多信息,文章内容仅供参考,转载请注明出处。