The PHP 5.5 official version no longer supports Windows XP

Source: Internet
Author: User
Tags foreach constant hash new features

PHP developers have officially released the 5.5 version, which has been developed since last November and has undergone multiple beta versions. PHP 5.5 contains a series of new features, such as the new Array_column () function and the foreach () loop that supports scalar iterative keys, including generators allowing developers to implement simple routines.

At the same time, the new version introduces a cryptographic hash function, which allows developers to easily implement a salt-safe password; add the finally keyword; the foreach structure supports the list () build; other improvements include opcode caching, code optimization, Zend optimizer+, etc. These pairs do not have an impact on existing code, primarily to improve the performance and stability of the language.

The new password hash API uses the Bcrypt method, as shown in the following example:

$hash = Password_hash ($password, Password_default);

Checksum method:

Password_verify ($password, $hash);

PHP developers also remind users that PHP 5.5 also contains content that is not backward compatible, including: no longer supports Windows XP and 2003 systems, case-insensitive matching functions, classes, and constant names that are not related to Locale, which are needed by developers of constant names that use non-ASCII code To be aware of. For a complete list of PHP 5.5 non-backward compatibility, see List of new features and possible incompatibilities

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.