PHP developers officially released version 5.5, which started development in November last year and has gone through multiple test versions. PHP 5.5 includes a number of new features, such as the new array_column() function and foreach() loop support for scalar iteration keys; including generators allowing developers to implement simple coroutines.
At the same time, the new version introduces a password hash function, which allows developers to easily implement salted secure passwords; adds the finally keyword; the foreach structure supports list() construction; other improvements include opcode caching, code optimization, Zend Optimizer+ Wait, these pairs will not affect the existing code, but mainly improve the performance and stability of the language.
The new password hashing API uses the Bcrypt method, the example is as follows:
<ol><li><span><span>$hash</span><span> = password_hash(</span><span>$password</span><span>, PASSWORD_DEFAULT); </span></span></li></ol>
Verification method:
<ol><li><span><span>password_verify(</span><span>$password</span><span>, </span><span>$hash</span><span>); </span></span></li></ol>
At the same time, PHP developers also remind users that PHP 5.5 also contains some backward-incompatible content, including: No longer Supports Windows XP and 2003 systems; case-insensitive matching functions and classes; constant names have nothing to do with Locale, which some developers who use constant names in non-ASCII codes need to pay attention to. For a complete list of backward compatibility of PHP 5.5, please see the list of new features and possible incompatibilities
For a complete list of improvements to PHP 5.5, please see the NEWS file
Download address:
http://windows.php.net/qa/ (Windows)
http://php.net/downloads.php#v5 (Source code package)
Original link: http://www.oschina.net/news/41621/php-5-5-0-adds -optimizer-and-drops-windows-xp-support
The above introduces the release of the official version of PHP55, which no longer supports Windows XP, including Windows XP content. I hope it will be helpful to friends who are interested in PHP tutorials.