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

來源:互聯網
上載者:User
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

http://www.bkjia.com/PHPjc/532220.htmlwww.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...

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.