This is only a summary. For a full list of changes see the NEWS file.
Feature | RFC / announcement | Author |
---|---|---|
Bundled ZendOptimizer+ as OPcache | https://wiki.php.net/rfc/optimizerplus | zeev |
Language changes | ||
Generators and coroutines | https://wiki.php.net/rfc/generators | me |
finally blocks |
https://wiki.php.net/rfc/finally | laruence |
Non-scalar Iterator keys in foreach | https://wiki.php.net/rfc/foreach-non-scalar-keys | me |
Getting the fully qualified class name using ClassName::class |
https://wiki.php.net/rfc/class_name_scalars | ralph |
Function calls in empty() |
https://wiki.php.net/rfc/empty_isset_exprs | me |
list() in foreach |
https://wiki.php.net/rfc/foreachlist | laruence |
Constant array/string dereferencing | https://wiki.php.net/rfc/constdereference | laruence |
Standard library | ||
Simplified password hashing API | https://wiki.php.net/rfc/password_hash | ircmaxell |
hash_pbkdf2() function |
https://wiki.php.net/rfc/hash_pbkdf2 | ircmaxell |
array_column() function |
https://wiki.php.net/rfc/array_column | ramsey |
cli_set_process_title() function |
https://wiki.php.net/rfc/cli_process_title | kgovande |
UConverter class (ext/intl) |
https://wiki.php.net/rfc/uconverter | pollita |
IntlCalendar class (ext/intl) |
http://markmail.org/message/b7sldwebskmhbxmx | cataphrac |
IntlBreakIterator class (ext/intl) |
http://markmail.org/message/ulnm3hhist5ygido | cataphrac |
DateTimeImmutable class (immutable variant of DateTime ) |
(none) | derick |
Deprecations and removals | ||
Dropped Windows XP and 2003 support | (none) | pierre |
ext/mysql deprecated | https://wiki.php.net/rfc/mysql_deprecation | aharvey |
preg_replace /e modifier deprecated |
https://wiki.php.net/rfc/remove_preg_replace_eval_modifier | me |
Logo GUIDs removed | http://markmail.org/message/kewdoz3dowrr7rfv | ajf |
curlwrappers removed (not ext/curl itself!) | https://wiki.php.net/rfc/curl-wrappers-removal-rfc | pierrick |
List I use when pasting to other places (without table support):
Uncategorized:
* Bundled ZendOptimizer+ as OPcache (https://wiki.php.net/rfc/optimizerplus by zeev)
Language changes:
* Generators and coroutines (https://wiki.php.net/rfc/generators by me)
* `finally` blocks (https://wiki.php.net/rfc/finally by laruence)
* Non-scalar Iterator keys in foreach (https://wiki.php.net/rfc/foreach-non-scalar-keys by me)
* Getting the fully qualified class name using `ClassName::class` (https://wiki.php.net/rfc/class_name_scalars by ralph)
* Function calls in `empty()` (https://wiki.php.net/rfc/empty_isset_exprs by me)
* `list()` in foreach (https://wiki.php.net/rfc/foreachlist by laruence)
* Constant array/string dereferencing (https://wiki.php.net/rfc/constdereference by laruence)
Standard library:
* Simplified password hashing API (https://wiki.php.net/rfc/password_hash by ircmaxell)
* `hash_pbkdf2()` function (https://wiki.php.net/rfc/hash_pbkdf2 by ircmaxell)
* `array_column()` function (https://wiki.php.net/rfc/array_column by ramsey)
* `cli_set_process_title()` function (https://wiki.php.net/rfc/cli_process_title by kgovande)
* `UConverter` class in ext/intl (https://wiki.php.net/rfc/uconverter by pollita)
* `IntlCalendar` class in ext/intl (http://markmail.org/message/b7sldwebskmhbxmx by cataphrac)
* `IntlBreakIterator` class in ext/intl (http://markmail.org/message/ulnm3hhist5ygidoby cataphrac)
* `DateTimeImmutable` class, which is an immutable variant of `DateTime` (by derick)
Deprecations and removals:
* Dropped Windows XP and 2003 support (by pierre)
* ext/mysql deprecated (https://wiki.php.net/rfc/mysql_deprecation by aharvey)
* preg_replace `/e` modifier deprecated (https://wiki.php.net/rfc/remove_preg_replace_eval_modifier by me)
* Logo GUIDs removed (http://markmail.org/message/kewdoz3dowrr7rfv by ajf)
* curlwrappers removed (https://wiki.php.net/rfc/curl-wrappers-removal-rfc by pierrick)
Thank you.