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:
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