What new features will PHP5.5 bring?

Source: Internet
Author: User

PHP5.4 was released four months ago. It seems that the next PHP version is a little earlier, but I still want to tell you what new features PHP5.5 will bring.

Note: PHP5.5 is still in the early development phase, so no one knows what the final result is. All I am talking about here is a proposal. That is to say, not all new features listed below are added to php5.5. So, don't be too excited :)

The list of new features and proposals is quite large, and they are not sorted by importance. Therefore, if you don't want to read it all over again, I am most excited here:

A simple password hash API; scalar type prompt; Getter and Setter; Generator

Now, let's take a look at the features that may be added to PHP5.5:

Not backward compatible

First, we will have two changes:

1. Discard support for Windows XP and 2003

PHP5.5 will no longer support Windows XP and 2003. These systems have been around for ten years, so PHP will no longer support them.

2. Discard the e Modifier

The e modifier indicates that the preg_replace function is used to evaluate the replacement string as the PHP code, not just a simple string replacement. As expected, this kind of behavior will continue to cause security problems. This is why a discard warning is thrown when this modifier is used in php5.5. As an alternative, you should use the preg_replace_callback function. You can find

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.