PHP 4.06 正式版发布,修正了许多BUG,更加稳定
发表于:2007-07-01来源:作者:点击数:
标签:
PHP 4.06 正式版发布,修正了许多BUG,更加稳定 Fixed memory fragmention problem which could lead to web server processes growing much more than they should. (Andi, Zend Engine) 修正了内存框架错误,他将导致web 服务器 处理大大超过他应该的处理量 Ma
PHP 4.06 正式版发布,修正了许多BUG,更加稳定
Fixed memory fragmention problem which could lead to web server processes growing much more than they should. (Andi, Zend Engine)
修正了内存框架错误,他将导致web
服务器处理大大超过他应该的处理量
Made $HTTP_SESSION_VARS[@#foo@#] and $foo be references to the same value when register_globals is on. (Andrei)
更改 $HTTP_SESSION_VARS[@#Foo@#] 和 $Foo 在 register_globals 为 on 的时候为相同的参考值
Fixed disk_free_space() and disk_total_space() under FreeBSD. (Jon)
修正了在 FreeBSD 下面的 disk_free_sapce() 和 disk_total_space()函数错误
Fixed readfile/passthru losing resources during connection abort (Sascha)
修正了 readfile/passthru 在连接终止期间资源丢失的问题
Fixed bug in the mcrypt extension that caused segfaults when using a key that is too large for the used algorithm, and a bug that caused mcrypt_generic() to segfault PHP (Derick)
修正了在mcrypt 扩展中使用过大的密匙进行运算时引起的段失败错误,以及 mcrypt_generic()中同样引起段失败的一个错误
Fixed getopt so that it a
clearcase/" target="_blank" >ccepts command line arguments in the form -<opt><arg> and -<opt> <arg>. (Jmoore)
修正了 getopt 可以接收表单里面的 -<opt><arg> 和 -<opt><arg> 的命令行参数
Fixed race in writing session files (Sascha)
修正了在写 session 文件时的错误
Fixed a possible crash in the PHP CGI when no input file is specified (Zeev)
修正了 PHP CGI 在没有指定输入文件时可能出现的漏洞
Added is_callable() function that can be used to find out whether its argument is a valid callable construct. (Andrei)
增加了 is_callable() 函数用于判断它的参数是否是一个可调用的结构
Fixed a rare possible crash when generating extended information. (Dmitri Dmitrienko, Zend Engine)
修正了一个在产生扩展信息时非常可能出现的漏洞
Improved virtual() to support PHP-enabled URIs. (Zeev)
增强了 virtual() 用于支持 PHP-Enabled 地址
Fixed undefined behavior when using floating point keys in array() expressions. (Zeev, Zend Engine)
修正了在 array() 表达式里面使用浮点数关键字出现的未定义的行为
Fixed a possible crash in case of parse errors in include files or eval statements. (Zeev, Zend Engine)
修正了在包含文件(include)或者 eval 语句里面由于解析错误可能引起的漏洞
Added --with-layout configure option. (Stig)
增加了 --with-layout 配置参数
Improved interactive mode - supports function calls, and works in multithreaded builds. (Zeev, Zend Engine)
增强的交互模式-支持多线程结构下的函数调用和工作
Fixed a crash bug in interactive mode. (Zeev, Zend Engine)
修正了一个交互模式里的严重bug
Added pg_last_notice() function. (Rasmus from suggestion by Dirk@rackspace.com)
增加了 pg_last_notice()函数
Fixed a bug in preg_split() that would incorrectly limit the number of results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
修正了 preg_split() 在使用 PREG_SPLIT_NO_EMPTY 标志时出现的错误限制结果的数量
Added connection error support to
mysql_error() and mysql_errno(). (Jason)
增加了对 mysql_error() 和 mysql_errno() 对连接错误的支持
Added support to getimagesize to return dimensions of BMP and PSD files. (Derick)
getimagesize 函数增加了对 BMP 和 PSD 文件返回尺寸的支持
Added heuristic to kill stale IRC connections, message scanner caching, and nickname escaping to IRCG, suppress option to ircg_msg(), and statistics to IRCG
phpinfo() output. (Sascha)
增加了启发式删除陈旧的 IRC 连接,信息扫描器缓存,呢称转化为 IRCG, irc_msg(0 限制参数和IRCG phpinfo()输出的统计
Added Japanese multibyte string functions support. (Rui)
增加了日语多字节字符串函数支持
Added Mac OS X "\r" line ending support. (Andi, Zend Engine)
增加了对 Mac OS 系统的 \r 行结束标记的支持
Fixed a bug regarding the $PHP_SELF being incorrectly registered when force-cgi-redirect was not enabled. (Sterling)
修正了在没有打开 force-cgi-redirect 的情况下,注册 $PHP_SELF 出现的错误
pfpro extension now supports version 3 of the Verisign SDK. (John Donagher)
pfpro 扩展支持 Version 3 的 Verisign SDK
Udm_Cat_List and Udm_Cat_Path functions has been added.
增加了 Udm_Cat_List 和 Udm_Cat_Path 函数
Added key_exists() to check if a given key or index exists in an array or object. (David Croft)
增加了 key_exists() 用来判断给定的关键字是否存在于数组对象里面
Modify the cURL extension to compile only with the latest cURL release. Backwards compatibility with regards to the extension api has not been broken. (Sterling)
修改了 cURL 扩展模块,仅编译最新版的 cURL. 向后兼容的 扩展 API 没有去掉
Added the ability to use user-defined callbacks with cURL. (Sterling)
增加了 cURL 里面使用用户自定义回调函数的能力
Added the SSL_VERIFYPEER, CAINFO, MAXREDIRS, FILETIME, RANDOM_FILE, EGDSOCKET and CONNECTTIMEOUT options to curl_setopt(). (Sterling)
curl_setopt() 增加了许多的参数
Added support for persistent connections with cURL. (Sterling)
cURL 增加了对持久连接的支持
Fixed a problem in cURL with file descriptors being allocated, but never closed. (Sterling)
修正了 cURL 里面文件描述符被分配,但是没有关闭的错误
Fixed interactive mode (-a). It works again with the same limitations it has always had. (Andi, Zend Engine)
修正了交互模式.他在其始终拥有的相同的限制下再次工作了
Improved memory manager to use less memory and provide better memory overflow detection abilities in debug mode. (Andi, Zend Engine)
在调试模式下,增强了内存管理能力,使用更少的内存,提供了更好的内存溢出检测能力
Fixed resource leaks when resources were being cast to numbers. (Zeev, Zend Engine)
修正了当资源转化为数字时出现的资源漏洞
Fixed foreach() to not crash when being sent an invalid argument. (Andi, Zend Engine)
修正了 foreach() 函数在没有提供合法的参数的情况下出现的问题
Fixed a bug in opendir() under Windows when trying to open a non-exisiting directory. (Andi)
修正了 opendir() 在 Windows 下打开一个不存在的目录出现的错误
Fixed popen() and the exec family under Win32 (Unable to fork issue). (Daniel)
修正了 Win32 下面的 popen() 和 exec 类的错误
Make the printf family of functions binary clean. (Rasmus)
改进了 printf 类函数准确处理二进制数据的能力
Fixed WDDX serialization to HTML-escape key/variable names so as not to break the XML packet. (Andrei)
修正了 WDDX 的 HTML 编码的 关键字/值 的序列化问题,不再打断 XML 语法包
Made WDDX extension enabled by default. (Andrei)
WDDX 扩展改为默认支持
Added -C command-line option to avoid chdir to the script@#s directory. (Stig)
增加了 -C 命令行参数,避免更改目录到脚本的目录
Fixed a bug with /e modifier in preg_replace(), that would not correctly replace two-digit references if single digit references were present before them. This fixed bug #10218. (Andrei)
修正了 preg_replace() 函数的 /e 修饰符的一个错误。他使得如果2个数字条目前面有1个单数字的话,不能正确替换。
Added temporary LOB support in OCI8. (Patch by David Benson)
增加了 OCI8 对 临时 LOB 的支持
Fixed crash in pathinfo()
修正了 pathinfo() 的错误
OCI8 now supports binding of collections. (Patch by Andy Sautins )
OCI8 现在支持收集捆绑
Added GD 2.0.1 support for truecolor and alpha channels, plus some other gd functions, both old and new - see docs for more info. (Wez)
增加了 GD 2.0.1,支持真彩色和 alpha 通道,增加了一些 gd 函数,包括新的和旧的
Added S/
MIME sign/verify encrypt/decrypt functions to openssl extension, along with some other certificate manipulation and interrogation functions. See docs for more info. (Wez)
在 openssl 扩展中增加了 S/MIME sign/verify encrypt/decrypt 函数,以及一些其它的认证处理和审查函数
printf argnum (parameter swapping) support. (Morten Poulsen, Rasmus)
printf 函数支持参数个数(参数交换)
Add DIRECTORY_SEPARATOR constant (@#/@# on
UNIX, @#\@# on Windows). (Stig)
增加了 DIRECTORY_SEPARATOR(路径分割符)常量,在 Unix 里是 / 在 Windows 里是 \
Added small change to php_odbc module, to check for failed
SQLDisconnects and to close any outstanding transactions if the call fails, then disconnect again. (lurcher)
增加了 php_odbc 模块的小改动,检查 SQLDisconnect 失败和在调用失败时关闭所有的激活的事务
Modified get_parent_class() and get_class_methods() to accept a class name as well as a class instance. (Andrei, Zend Engine)
更改了 get_parent_class() 和 get_class_method(0 函数,不仅接受类的实例而且接受类的名字
Added support for UNC style paths. (\\server\share\file, //server/share/file). (Daniel, TSRM)
支持 UNC 类型的路径
Added dbx module (database abstraction) to the repository. (Marc)
增加了 dbx 模块
Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls and even COM calls much faster. All ini settings are now prefixed by @#com.@#. Now you need not provide a path to the file containing the typelib, you can also provide the GUID of the TypeLib - entry or an IID for preloading type - information. (phanto)
在可能的情况下,使用 ITypeInfo 代替 IDispath. 这使得 DCOM 调用和 COM 事件调用更快。所有的配置都使用 com 前缀。你不必非得提供包含 typelib 的文件路径,你也可以提供 TypeLib 的GUID - 入口或者一个预先装载的类型的IID信息
Rewrite of domxml. It@#s now mostly DOM Level 2 conform. (Uwe)
重新编写了 domxml,目前大部分适应 DOM Level 2
Added array_map() function that applies a callback to the elements of given arrays and returns the result. It can also be used with a null callback to transpose arrays. (Andrei)
增加了 array_)map() 函数。对给定的数组的元素指定一个回调函数,返回结果。也可以使用空的回调函数来变换数组
Added array_filter(), which allows filtering of array elements via the specified callback. (Andrei)
增加了 array_filter()函数,允许你通过特定的回调函数过滤掉一些数组元素
Fixed all relevant array functions to avoid moving the internal array pointer during operations. (Andrei)
修正了所有的相关数组函数,避免在操作期间移动了内部输组指针
Added mysql_unbuffered_query(), which is useful for very large result sets. (Zeev)
增加了 mysql_unbuffered_query() 函数,用于非常大的结果集
原文转自:http://www.ltesting.net