PHP4.1.0 published in the English version 2_php tutorial

Source: Internet
Author: User
Tags chop gmp imap ldap snmp
PHP 4.1.0 Release announcement PHP 4.1.0 Publishing 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-dimensional SafeArray and enumerations. Added Is_enum (to determine if a part comes from a enumeration-fixed a bug in Dbase_get_record ( ) and Dbase_get_record_with_names (). Boolean fields is now returned correctly. Patch by Lawrence E. Widman (Jani) fixed errors for Dbase_get_record () and Dbase_get_record_with_names (). The Boolean field can now be returned correctly. -Added--version option to Php-config. (Stig) Added--version configuration options-improved support for thttpd-2.21b by incorporating patches for all known bugs. (Sascha) Enhanced support for thttpd-2.21b by adding patches of known errors-Added ircg_get_username, a roomkey argument to Ircg_join, error fetching infra Structure, a tokenizer to speed up message processing, and fixed a lot of bugs in the IRCG extension. (Sascha) added Ircg_get_username, a ircg_join parameter, error acquisition mechanism, a tokenizer to expedite information processing, fixed many errors inside the IRCG extension. -Improved Speed Of the Serializer/deserializer. (Thies, Sascha) speeds up serialization/deserialization-floating point numbers is better detected when converting from strings. (Zeev, Zend Engine) better detect conversions from a string to a floating-point number-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 is only enthusiastic in recommending that the user use this file as the base configuration file for PHP, rather than using Php.ini.dist-restore xpath_eval () and Php_xpathptr_eval () for 4.0.7. There is still some known leaks. (Joey) fixed xpatch_eval () and Php_xpatchptr_eval (), they also had some known vulnerabilities-Added import_request_variables (), to allow users to safely I Mport form variables to the global scope (Zeev) adds Import_request_variables (), allowing users to safely export from variable to global scope-introduced a new $_requ EST 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) introduced a new $_request array, including any GET,The POST or COOKIE variable, like any other new variable, is also available without having to use his context-introduced $_get, $_post, $_cookie, $_server and $_env variables, which Deprecate the old $HTTP _*_vars arrays. In addition to is much shorter to Type-these variables is 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, deprecated the use of old $HTTP _*_vars arrays. In addition they are shorter, these variables can be used in any range, and do not need to use global references to them. -Added vprintf () and vsprintf () functions that allow passing all arguments after format as an array. (Andrei) adds the bprintf () and vsprintf () functions, allowing you to use an array as a parameter after the format. -Added support for GD2 image type for imagecreatefromstring () (Jani) added GD2 () supports for imagecreateformstring images format-Added Ima GECREATEFROMGD (), ImageCreateFromGD2 (), Imagecreatefromgd2part (), Imagegd () and ImageGD2 () functions (Jani) Add the above functions- Addcslashes now warns if charlist is invalid. The returned string remained the same (Jeroen) addcslashes in the character list is illegal is given a warning, return 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 gmp_init () optional additional parameters. Parameters indicate the digital cardinality when the GMP converts a string into Gmp-number-Added the cyrus-imap extension, which allows a direct interface to Cyrus more Advanc Ed capabilities. (Sterling) Adds a cyrus-imap extension that allows a direct excuse to Cyrus advanced Features-Enhance read_exif_data () to the support multiple comment tags (rasmus) increase Strong Read_exif_data (), supports multiple comment tags-fixed a crash bug in Array_map () when NULL callback is passed in. (Andrei) fixed on array_map () The flaw inside the callback is a NULL-change from E_error to e_warning in the Exif extension (Rasmus) inside the EXIF extension E_ERRPR -The New POW () implementation, which returns an integer when possible, and warnings on wrong input (Jeroen) of the newly POW () function. It is possible to return an integer if the input error returns a warning-Added optional second parameter to trim, chop and ltrim. You can now specify which characters to trim (Jeroen) adds a second parameter to Trim,chop,ltrim, which specifies which character is removed-hugely improved the perform Ance of the Thread-safe version of PHP, especially under Windows (Andi & Zeev) greatly improves the performance of PHP's threading versions, especially under Windows-improved requ Est-shutdown Performance significantly (Andi & Zeev, Zend Engine) significantly improved performance of request interruption (Request-shutdown)-Added a few new M Ath functions. (Jesus) added a new mathematical function-Bump bundled expat to 1.95.2 (Thies) [did not understand, as if the compression package was upgraded to 1. 95. 2]-improved the stability of Ociplogon () after a database restart. (Thies) Improved stability of Ociplogon () after 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) fixes the Cgi/java in the main script using __file__ servlet mode. Before the fix, he only worked on the included files. -Improved the Zend hash table implementation to be much faster (Andi, Zend Engine) improved Zend hash tables more fast-Updated PHPs fi Le open function (used by include ()) to check in the calling scripts directory in case the file cant is found in the INCLU De_path (Andi) updated the File Open function (used in include () to detect files in the calling script's directory in the case of Include_path no file found-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) fixes an error that could cause a container break that could cause a failure to clear after the request was completed-Added optional use of Boyer-moore algorithm to Str_replace () (Sascha) St R_replace () Added optional Boyer-moore rule-fixed and improved Shared-memory session Storage module (SASCHA) modified and modified shared memory transaction enclosure-ADD Config option (always_populate_raw_post_data) which when enabled would always populate $HTTP _raw_post_data regardless of th The E post MIME type (rasmus) adds configuration parameters (Always_populate_raw_post_data), allowing the case, regardless of any post type, to be bundled $HTTP _raw_post_data-added Support for sockets and Popen file types to Ftp_fput (Jason) added ftp_fput socket and Popen files type-Fixed various memory leak s in the LDAP extension (Stig Venaas) fixed multiple memory vulnerabilities in LDAP extension-Improved interactive mode-it is now available in all builds of PHP, without any significant slowdown (Zeev, Zend Engine) improved the interactive mode, which can be used in all PHP, without any noticeable slowdown-Fixed crash in Iptcparse ( If the supplied data was BoguS. (Thies) fixed iptcprase () defect in case the supplied data is forged-fixed return value for a failed Snmpset ()-now returns False (Rasmus) fixed S The error return value for Nmpset () false-added hostname:port support to SNMP functions (nbougues@axialys.net, Rasmus) adds the host name of the SNMP function: Port grid Support-Added fdf_set_encoding () function (Masaki YATSU, Rasmus) adds fdf_set_encoding () functions-reversed the Destruction-order of resources. This fixes the reported OCI8 "failed to rollback outstanding transactions!" message (Thies, Zend Engine) flips the order of resource destruction. He fixed the "failed to roolback outstanding transactions!" reported in OCI8. Info-Added option for returning XMLRPC fault packets. (Matt Allen, Sascha Schumann) added XMLPRC error packet return parameters-improved range () function to support range (A,Z) and range (9,0) types O F Ranges. (Rasmus) Improved range () function, support range (A,Z) and Range (9,0) format-Added getmygid () and safe_mode_gid INI directive to allow safe Mode t o do a GID check instead of a UID check. (James E. Flemer, Rasmus) increased configuration instructions for Getmugid () and sage_mod_gid, allowing GID detection to be used in Safe mode instead of UID detection-made ASSERT () accept the array (& $obj, methodname) syntax

http://www.bkjia.com/PHPjc/532220.html www.bkjia.com true http://www.bkjia.com/PHPjc/532220.html techarticle PHP 4.1.0 Release announcement PHP 4.1.0 Publishing Announcement (2)-Added support for single dimensional SAFEARRAYs and enumerations. A Dded an Is_enum () function to check if a component imp ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    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.