PHP 4.06 正式版发布,修正了许多BUG,更加稳定

老婷吖_5724

老婷吖_5724

2016-06-21

1346人浏览

原创

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 accepts command line arguments in the form - and -. (Jmoore)
修正了 getopt 可以接收表单里面的 - 和 - 的命令行参数

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 " " line ending support. (Andi, Zend Engine)
增加了对 Mac OS 系统的 行结束标记的支持

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. (\servershare ile, //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() 函数,用于非常大的结果集



php免费学习视频:立即使用
踏上前端学习之旅,开启通往精通之路!从前端基础到项目实战,循序渐进,一步一个脚印,迈向巅峰!

相关文章

PHP速学教程(入门到精通)
PHP速学教程(入门到精通)

PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!

下载

相关标签:

本站声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn

相关专题

更多
Go-Zero API开发使用教程
Go-Zero API开发使用教程

本专题聚焦Go-Zero的API开发,拆解.api描述文件的语法结构、路由与分组定义、参数绑定与校验规则,说明统一响应体、JWT鉴权、跨域与接口文档生成的落地方式,并给出网关聚合与接口测试的实践建议。

2026.11.12

140

15

Go-Zero安装与goctl环境配置教程
Go-Zero安装与goctl环境配置教程

本专题围绕Go-Zero的安装与工具链配置展开,讲清Go版本要求、goctl安装方式、代理镜像、protoc依赖与环境变量设置,说明多版本共存、升级回退与CI流水线安装的做法,并整理安装阶段的常见报错与验证步骤。

2026.11.12

100

15

Go-Zero零基础入门教程
Go-Zero零基础入门教程

本专题整理Go-Zero的入门知识,从框架定位、环境准备到跑通第一个API服务,讲清目录分层、配置加载、日志与中间件的基本用法,并对比Gin、Kratos的差异,帮助Go开发者建立整体认知,判断它是否适合当前项目。

2026.11.12

80

15

Postman身份认证怎么配置
Postman身份认证怎么配置

本专题从实际API接口调试场景出发,讲解Postman身份认证的完整配置流程,包括常见认证协议介绍、授权参数设置、访问令牌填写、OAuth 2.0授权及认证失败排查,帮助用户正确完成接口授权与访问验证。

2026.11.06

160

12

Postman请求头Headers怎么设置
Postman请求头Headers怎么设置

围绕Postman HTTP请求头配置展开,讲解Headers选项的具体使用方式,包括Key和Value参数填写、请求头信息添加、常见Header字段设置及请求头修改方法,帮助用户解决接口调试过程中遇到的请求头配置问题。

2026.11.06

140

13

Postman接口请求发送教程
Postman接口请求发送教程

详细介绍Postman接口请求的创建与发送方法,涵盖GET和POST请求、URL配置、请求参数、Headers请求头、Body请求体设置以及响应结果查看,帮助用户掌握Postman接口请求的完整操作流程。

2026.11.06

120

10

DBeaver怎么导入数据
DBeaver怎么导入数据

DBeaver数据导入专题,整理Excel、CSV、SQL、TXT等常见文件的数据导入方法,涵盖目标数据库选择、数据表创建、字段映射、数据类型设置及导入参数配置等操作,帮助用户将本地文件中的数据写入数据库,并了解批量导入、重复数据处理和导入失败等常见问题的解决方法。

2026.11.05

120

12

DBeaver安全防护教程大全
DBeaver安全防护教程大全

DBeaver安全防护专题,围绕数据库连接安全、账号密码保护和访问权限管理展开,整理SSL/TLS加密连接、SSH隧道、数据库凭据保存及证书验证等配置方法,同时介绍敏感信息保护、远程连接风险和高权限账号使用等注意事项,帮助用户提高数据库日常管理的安全性。

2026.11.05

100

12

DBeaver连接创建与配置教程
DBeaver连接创建与配置教程

本专题聚焦DBeaver数据库连接配置与管理,覆盖从新建连接、选择数据库类型到填写连接参数和验证连接的完整流程。针对MySQL、PostgreSQL、SQL Server等常见数据库,整理相应的连接设置方法,并提供驱动缺失、认证失败和连接异常等问题的排查方向。

2026.11.04

120

16

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程