Home php教程 php手册 PHP 4.06 正式版发布,修正了许多BUG,更加稳定

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

Jun 21, 2016 am 09:10 AM
and fixed the

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



Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

After 2 months, the humanoid robot Walker S can fold clothes After 2 months, the humanoid robot Walker S can fold clothes Apr 03, 2024 am 08:01 AM

Editor of Machine Power Report: Wu Xin The domestic version of the humanoid robot + large model team completed the operation task of complex flexible materials such as folding clothes for the first time. With the unveiling of Figure01, which integrates OpenAI's multi-modal large model, the related progress of domestic peers has been attracting attention. Just yesterday, UBTECH, China's "number one humanoid robot stock", released the first demo of the humanoid robot WalkerS that is deeply integrated with Baidu Wenxin's large model, showing some interesting new features. Now, WalkerS, blessed by Baidu Wenxin’s large model capabilities, looks like this. Like Figure01, WalkerS does not move around, but stands behind a desk to complete a series of tasks. It can follow human commands and fold clothes

What currency is THE? Is THE coin worth investing in? What currency is THE? Is THE coin worth investing in? Feb 21, 2024 pm 03:49 PM

What currency is THE? THE (Tokenized Healthcare Ecosystem) is a digital currency that uses blockchain technology to focus on innovation and reform in the healthcare industry. THE coin's mission is to use blockchain technology to improve the efficiency and transparency of the medical industry and promote more efficient cooperation among all parties, including patients, medical staff, pharmaceutical companies and medical institutions. The Value and Characteristics of THE Coin First of all, THE Coin, as a digital currency, has the advantages of blockchain - decentralization, high security, transparent transactions, etc., allowing participants to trust and rely on this system. Secondly, the uniqueness of THE coin is that it focuses on the medical and health industry, using blockchain technology to transform the traditional medical system and improve

Usage of fixed in c language Usage of fixed in c language Sep 27, 2023 am 10:15 AM

The usage of fixed in C language refers to a technology that uses fixed point numbers to represent floating point numbers. In many embedded systems, due to limited hardware resources, floating point operations cannot be supported, but some complex calculations are required. At this time, you can use fixed to perform calculations instead of floating point numbers. fixed is a fixed-point number representation method that represents floating-point numbers as an integer and a fixed number of decimal places. Normally, fixed numbers have a fixed number of decimal places.

How to use AND operator and OR operator in SQL statement How to use AND operator and OR operator in SQL statement May 28, 2023 pm 04:34 PM

SQLAND&OR OperatorThe AND and OR operators are used to filter records based on more than one condition. AND and OR combine two or more conditions in the WHERE substatement. The AND operator displays a record if both the first and second conditions are true. The OR operator displays a record if either the first condition or the second condition is true. "Persons" table: LastNameFirstNameAddressCityAdamsJohnOxfordStreetLondonBushGeorgeFifthAvenueNewYorkCarter

Analysis of CSS absolute positioning properties: absolute and fixed Analysis of CSS absolute positioning properties: absolute and fixed Oct 24, 2023 am 11:55 AM

CSS absolute positioning attribute analysis: absolute and fixed Absolute positioning is a common and useful layout technique in CSS. By using the position:absolute or position:fixed attribute, an element can be detached from the normal document flow and positioned relative to its containing element. To position. This article will analyze the two absolute positioning properties of absolute and fixed in detail and provide specific code examples. position:absolute

How to check the latest price of The Sandbox coin? How to check the latest price of The Sandbox coin? Mar 05, 2024 am 11:52 AM

How to check the latest price of TheSandbox currency TheSandbox is a decentralized gaming platform built on the Ethereum blockchain. Land, assets and gaming experiences can be purchased using its native token SAND. The steps to check the latest price of SAND are as follows: Choose a reliable price check website or app. Some commonly used price query websites include: CoinMarketCap: https://coinmarketcap.com/Coindesk: https://www.coindesk.com/Binance: https://www.binance.com/ Search on the website or app SAND. View SAND

How do CSS3 properties implement fixed positioning of elements? How do CSS3 properties implement fixed positioning of elements? Sep 09, 2023 am 10:25 AM

How do CSS3 properties implement fixed positioning of elements? In web development, fixed positioning is a common layout method, often used to achieve special effects such as floating or top navigation bars. CSS3 provides us with some properties that can help us achieve fixed positioning of elements. 1. Position attribute In CSS, the position attribute is used to define the positioning method of elements. Common values ​​include static, relative, absolute and fixed. static: default positioning

A Deep Dive into the Fixed Keyword in C# A Deep Dive into the Fixed Keyword in C# Feb 19, 2024 pm 01:51 PM

For a detailed explanation of fixed in C#, specific code examples are required. In the C# programming language, the fixed keyword is used to fix the memory address of a managed object to prevent the garbage collector from moving it. In some cases, we need to directly operate the data in memory, and the fixed keyword can help us achieve this need. This article will provide a detailed explanation of the fixed keyword in C# and provide some specific code examples. In C#, using the fixed keyword requires the following conditions: it must be located in an unsa

See all articles