0

0

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

php中文网

php中文网

发布时间:2016-06-21 09:10:36

|

1326人浏览过

|

来源于php中文网

原创

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



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

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

下载

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

热门AI工具

更多
DeepSeek
DeepSeek

幻方量化公司旗下的开源大模型平台

豆包大模型
豆包大模型

字节跳动自主研发的一系列大型语言模型

通义千问
通义千问

阿里巴巴推出的全能AI助手

腾讯元宝
腾讯元宝

腾讯混元平台推出的AI助手

文心一言
文心一言

文心一言是百度开发的AI聊天机器人,通过对话可以生成各种形式的内容。

讯飞写作
讯飞写作

基于讯飞星火大模型的AI写作工具,可以快速生成新闻稿件、品宣文案、工作总结、心得体会等各种文文稿

即梦AI
即梦AI

一站式AI创作平台,免费AI图片和视频生成。

ChatGPT
ChatGPT

最最强大的AI聊天机器人程序,ChatGPT不单是聊天机器人,还能进行撰写邮件、视频脚本、文案、翻译、代码等任务。

相关专题

更多
Python 序列化
Python 序列化

本专题整合了python序列化、反序列化相关内容,阅读专题下面的文章了解更多详细内容。

12

2026.02.02

AO3官网入口与中文阅读设置 AO3网页版使用与访问
AO3官网入口与中文阅读设置 AO3网页版使用与访问

本专题围绕 Archive of Our Own(AO3)官网入口展开,系统整理 AO3 最新可用官网地址、网页版访问方式、正确打开链接的方法,并详细讲解 AO3 中文界面设置、阅读语言切换及基础使用流程,帮助用户稳定访问 AO3 官网,高效完成中文阅读与作品浏览。

200

2026.02.02

主流快递单号查询入口 实时物流进度一站式追踪专题
主流快递单号查询入口 实时物流进度一站式追踪专题

本专题聚合极兔快递、京东快递、中通快递、圆通快递、韵达快递等主流物流平台的单号查询与运单追踪内容,重点解决单号查询、手机号查物流、官网入口直达、包裹进度实时追踪等高频问题,帮助用户快速获取最新物流状态,提升查件效率与使用体验。

98

2026.02.02

Golang WebAssembly(WASM)开发入门
Golang WebAssembly(WASM)开发入门

本专题系统讲解 Golang 在 WebAssembly(WASM)开发中的实践方法,涵盖 WASM 基础原理、Go 编译到 WASM 的流程、与 JavaScript 的交互方式、性能与体积优化,以及典型应用场景(如前端计算、跨平台模块)。帮助开发者掌握 Go 在新一代 Web 技术栈中的应用能力。

15

2026.02.02

PHP Swoole 高性能服务开发
PHP Swoole 高性能服务开发

本专题聚焦 PHP Swoole 扩展在高性能服务端开发中的应用,系统讲解协程模型、异步IO、TCP/HTTP/WebSocket服务器、进程与任务管理、常驻内存架构设计。通过实战案例,帮助开发者掌握 使用 PHP 构建高并发、低延迟服务端应用的工程化能力。

16

2026.02.02

Java JNI 与本地代码交互实战
Java JNI 与本地代码交互实战

本专题系统讲解 Java 通过 JNI 调用 C/C++ 本地代码的核心机制,涵盖 JNI 基本原理、数据类型映射、内存管理、异常处理、性能优化策略以及典型应用场景(如高性能计算、底层库封装)。通过实战示例,帮助开发者掌握 Java 与本地代码混合开发的完整流程。

9

2026.02.02

go语言 注释编码
go语言 注释编码

本专题整合了go语言注释、注释规范等等内容,阅读专题下面的文章了解更多详细内容。

62

2026.01.31

go语言 math包
go语言 math包

本专题整合了go语言math包相关内容,阅读专题下面的文章了解更多详细内容。

56

2026.01.31

go语言输入函数
go语言输入函数

本专题整合了go语言输入相关教程内容,阅读专题下面的文章了解更多详细内容。

28

2026.01.31

热门下载

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

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
传智播客AJAX视频教程
传智播客AJAX视频教程

共31课时 | 6.1万人学习

php ajax快速入门视频教程
php ajax快速入门视频教程

共6课时 | 1.3万人学习

php中级教程之ajax技术
php中级教程之ajax技术

共13课时 | 3.3万人学习

关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号