Home > Backend Development > PHP Tutorial > PHP4.1.0 Publication Announcement Chinese and English Version 2_PHP Tutorial

PHP4.1.0 Publication Announcement Chinese and English Version 2_PHP Tutorial

WBOY
Release: 2016-07-13 17:23:43
Original
868 people have browsed it

PHP 4.1.0 Release Announcement PHP 4.1.0 Release Announcement (2) - Added support for single dimensional SafeArrays and Enumerations. Added an is_enum() function to check if a component implements an enumeration. (Alan, Harald) Added support for one dimension SafeArray and Enumerations. Added is_enum(0 to determine whether a component comes from an 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) Fixed dbase_get_record () and dbase_get_record_with_names(). Now correctly returns boolean fields. - Added --version option to php-config. (Stig) Improved support for thttpd-2.21b by incorporating patches for all known bugs. (Sascha) Enhanced support for thttpd-2.21b by adding patches for known bugs - 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) Added ircg_get_username, an ircg_join parameter, an error acquisition mechanism, and a tokenizer to speed up information processing, and fixed many bugs in the IRCG extension. - Improved speed of the serializer/deserializer. (Thies) , Sascha) Faster serialization/deserialization - 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) Renamed php.ini-optimized to php.ini- recommended. The name implies that he only enthusiastically recommends users to use this file as the basic configuration file of PHP instead of using php.ini.dist - Restore xpath_eval() and php_xpathptr_eval() for 4.0.7. There are still some known leaks . (Joey) Fixed xpatch_eval() and php_xpatchptr_eval(), which also have some known vulnerabilities - Added import_request_variables(), to allow users to safely import form variables to the global scope (Zeev) Added import_request_variables(), to allow User-safe output from variables to global scope - 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. Introduced by (Andi & Zeev) A new $_REQUEST array, including any GET, POST or COOKIE variables. Like other new variables, this variable can be used regardless of its context - 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) introduced $ _GET, $POST, $COOKIE, $SERVER and $_ENV variables, the old $HTTP_*_VARS array is deprecated. In addition they are shorter, these variables can be used in any scope, there is no need to use global to refer to them. - Added vprintf() and vsprintf() functions that allow passing all arguments after format as an array. (Andrei) Added bprintf() and vsprintf() functions that allow you to pass all arguments after format as an array. - Added support for GD2 image type for ImageCreateFromString() (Jani) Added ImageCreateFormString() support for GD2 image format - Added ImageCreateFromGD(), ImageCreateFromGD2(), ImageCreateFromGD2part(), ImageGD() and ImageGD2() functions (Jani) The above functions - addcslashes now warns when charlist is invalid. The returned string remained the same (Jeroen) addcslashes gives a warning when the character list is illegal and returns the previous string - 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) Added optional extra arguments to gmp_init(). The parameter indicates the numeric base when gmp converts a string to a gmp-number - Added the Cyrus-IMAP extension, which allows a direct interface to Cyrus more advanced capabilities. (Sterling) Added the Cyrus-IMAP extension, which allows a direct interface to Cyrus Direct interface for advanced features - Enhance read_exif_data() to support multiple comment tags (Rasmus) Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei) Defects in array_map() when the callback is NULL - Change from E_ERROR to E_WARNING in the exif extension (Rasmus) Change E_ERRPR to E_WARNING in the exif extension - New pow() implementation, which returns an integer when possible, and warnings on wrong input (jeroen) New pow() function.Returns an integer when possible, and returns a warning if the input is incorrect - Added optional second parameter to trim, chop and ltrim. You can now specify which characters to trim (jeroen) Added a second parameter to trim, chop, ltrim. Specify which characters are removed - Hugely improved the performance of the thread-safe version of PHP, especially under Windows (Andi & Zeev) Greatly improved the performance of the thread-safe version of PHP, especially under Windows - Improved request-shutdown performance significantly (Andi & Zeev, Zend Engine) Significantly improved request-shutdown performance - Added a few new math functions. (Jesus) Bump bundled expat to 1.95.2 ( Thies ) [I don’t understand, it seems that the compressed package has been upgraded to 1.95.2] - Improved the stability of OCIPlogon() after a database restart. (Thies) Improved the stability of OCIPlogon() after a database restart. - 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) Working with include files - Improved the Zend hash table implementation to be much faster (Andi, Zend Engine) Improved the Zend hash table to be much faster - 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) Updated the file open function (used in include()) to detect the file in the directory of the calling script if the file is not found in 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) Fixed a bug that could cause container interruptions, possibly preventing resources from being cleaned up properly after the request was completed - Added optional use of Boyer-Moore algorithm to str_replace() (Sascha) str_replace() adds an optional Boyer-Moore rule - Fixed and improved shared-memory session storage module (Sascha) Fixed and improved shared memory transaction storage module - 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) Added configuration parameter (always_populate_raw_post_data), allowing $HTTP_RAW_POST_DATA to be bundled regardless of any post type - Added support for socket and popen file types to ftp_fput (Jason ) Added socket and popen file types for ftp_fput - Fixed various memory leaks in the LDAP extension (Stig Venaas) Fixed various memory leaks in the LDAP extension - Improved interactive mode - it is now available in all builds of PHP, without any significant slowdown (Zeev, Zend Engine) Improved interactive mode, works in all PHP without any significant slowdown - Fixed crash in iptcparse() if the supplied data was bogus. (Thies) Fixed iptcprase ( ) Bug in case the supplied data is forged, - Fixed return value for a failed snmpset() - now returns false (Rasmus) Fixed return value of snmpset() being false - Added hostname:port support to snmp functions (nbougues@axialys.net, Rasmus) Added support for hostname:port format of snmp function - Added fdf_set_encoding() function (Masaki YATSU, Rasmus) Added fdf_set_encoding() function - Reversed the destruction-order of resources. This fixes the reported OCI8 "failed to rollback outstanding transactions!" message (Thies, Zend Engine) and reverses the resource destruction order. He corrected the "failed to roolback outstanding transactions!" message reported in OCI8 - Added option for returning XMLRPC fault packets. (Matt Allen, Sascha Schumann) Added the return parameters of XMLRPC error packets - Improved range() function to support range (a,z) and range(9,0) types of ranges. (Rasmus) Improved range() function to support range(a,z) and range(9,0) formats - 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) Added configuration instructions for getmugid() and sage_mod_gid to allow gid check instead of uid check in safe mode - 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 Release Announcement (2) - Added support for single dimensional SafeArrays and Enumerations . Added an is_enum() function to check if a component imp...
Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template