What new features will PHP5.5 bring back?

Source: Internet
Author: User
What new features will PHP5.5 bring about? 2013-01-25? 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 new features will the final completion of PHP 5.5 bring?

2013-01-25

?

PHP 5.4 was released four months ago. now 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 just a proposal. That is to say, not all new features listed below must be added to php5.5.

So, don't be too excited :)

The new features and proposal lists are both quite large, and are not sorted by importance. Therefore, if you do not want to read it again, the author is most excited with four features:

A simple cryptographic hash API, scalar type prompt, Getter, Setter, generator

Now let's take a look at what functions may be added to PHP5.5:

  1. I. No backward compatibility. First, we will have two changes:

    1. give up support for Windows XP and 2003: HP5.5 will no longer support Windows XP and 2003. these systems have a decade of history, so PHP will no longer provide support.

    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 to make 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.