首頁 後端開發 php教程 PHP4.1.0出版公告中英对照版2_PHP教程

PHP4.1.0出版公告中英对照版2_PHP教程

Jul 13, 2016 pm 05:23 PM
php release 出版

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, its 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 theres 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 PHPs file open function (used by include()) to check in the calling scripts directory in case the file cant 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 函数的 主机名:端口 格式的支持 - Added fdf_set_encoding() function (Masaki YATSU, Rasmus) 增加了 fdf_set_encoding()函数 - Reversed the destruction-order of resources. This fixes the reported OCI8 "failed to rollback outstanding transactions!" message (Thies, Zend Engine) 翻转了资源毁灭顺序。他修正了在 OCI8 里面报告的 "failed to roolback outstanding transactions!"信息 - Added option for returning XMLRPC fault packets. (Matt Allen, Sascha Schumann) 增加了 XMLPRC 错误包的返回参数 - Improved range() function to support range(a,z) and range(9,0) types of ranges. (Rasmus) 改良了 range()函数,支持 range(a,z)和 range(9,0)格式 - Added getmygid() and safe_mode_gid ini directive to allow safe mode to do a gid check instead of a uid check. (James E. Flemer, Rasmus) 增加了 getmugid()和sage_mod_gid 的配置指示,允许在安全模式下使用 gid 检测代替 uid 检测 - Made assert() accept the array(&$obj, methodname) syntax

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/532220.htmlTechArticlePHP 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 imp...
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

<🎜>:泡泡膠模擬器無窮大 - 如何獲取和使用皇家鑰匙
3 週前 By 尊渡假赌尊渡假赌尊渡假赌
北端:融合系統,解釋
4 週前 By 尊渡假赌尊渡假赌尊渡假赌
Mandragora:巫婆樹的耳語 - 如何解鎖抓鉤
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

熱門話題

Java教學
1670
14
CakePHP 教程
1428
52
Laravel 教程
1329
25
PHP教程
1274
29
C# 教程
1256
24
PHP:網絡開發的關鍵語言 PHP:網絡開發的關鍵語言 Apr 13, 2025 am 12:08 AM

PHP是一種廣泛應用於服務器端的腳本語言,特別適合web開發。 1.PHP可以嵌入HTML,處理HTTP請求和響應,支持多種數據庫。 2.PHP用於生成動態網頁內容,處理表單數據,訪問數據庫等,具有強大的社區支持和開源資源。 3.PHP是解釋型語言,執行過程包括詞法分析、語法分析、編譯和執行。 4.PHP可以與MySQL結合用於用戶註冊系統等高級應用。 5.調試PHP時,可使用error_reporting()和var_dump()等函數。 6.優化PHP代碼可通過緩存機制、優化數據庫查詢和使用內置函數。 7

PHP和Python:比較兩種流行的編程語言 PHP和Python:比較兩種流行的編程語言 Apr 14, 2025 am 12:13 AM

PHP和Python各有優勢,選擇依據項目需求。 1.PHP適合web開發,尤其快速開發和維護網站。 2.Python適用於數據科學、機器學習和人工智能,語法簡潔,適合初學者。

PHP行動:現實世界中的示例和應用程序 PHP行動:現實世界中的示例和應用程序 Apr 14, 2025 am 12:19 AM

PHP在電子商務、內容管理系統和API開發中廣泛應用。 1)電子商務:用於購物車功能和支付處理。 2)內容管理系統:用於動態內容生成和用戶管理。 3)API開發:用於RESTfulAPI開發和API安全性。通過性能優化和最佳實踐,PHP應用的效率和可維護性得以提升。

PHP的持久相關性:它還活著嗎? PHP的持久相關性:它還活著嗎? Apr 14, 2025 am 12:12 AM

PHP仍然具有活力,其在現代編程領域中依然佔據重要地位。 1)PHP的簡單易學和強大社區支持使其在Web開發中廣泛應用;2)其靈活性和穩定性使其在處理Web表單、數據庫操作和文件處理等方面表現出色;3)PHP不斷進化和優化,適用於初學者和經驗豐富的開發者。

PHP和Python:解釋了不同的範例 PHP和Python:解釋了不同的範例 Apr 18, 2025 am 12:26 AM

PHP主要是過程式編程,但也支持面向對象編程(OOP);Python支持多種範式,包括OOP、函數式和過程式編程。 PHP適合web開發,Python適用於多種應用,如數據分析和機器學習。

PHP與其他語言:比較 PHP與其他語言:比較 Apr 13, 2025 am 12:19 AM

PHP適合web開發,特別是在快速開發和處理動態內容方面表現出色,但不擅長數據科學和企業級應用。與Python相比,PHP在web開發中更具優勢,但在數據科學領域不如Python;與Java相比,PHP在企業級應用中表現較差,但在web開發中更靈活;與JavaScript相比,PHP在後端開發中更簡潔,但在前端開發中不如JavaScript。

PHP和Python:代碼示例和比較 PHP和Python:代碼示例和比較 Apr 15, 2025 am 12:07 AM

PHP和Python各有優劣,選擇取決於項目需求和個人偏好。 1.PHP適合快速開發和維護大型Web應用。 2.Python在數據科學和機器學習領域佔據主導地位。

PHP:處理數據庫和服務器端邏輯 PHP:處理數據庫和服務器端邏輯 Apr 15, 2025 am 12:15 AM

PHP在數據庫操作和服務器端邏輯處理中使用MySQLi和PDO擴展進行數據庫交互,並通過會話管理等功能處理服務器端邏輯。 1)使用MySQLi或PDO連接數據庫,執行SQL查詢。 2)通過會話管理等功能處理HTTP請求和用戶狀態。 3)使用事務確保數據庫操作的原子性。 4)防止SQL注入,使用異常處理和關閉連接來調試。 5)通過索引和緩存優化性能,編寫可讀性高的代碼並進行錯誤處理。

See all articles