Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
List of new features in PHP 5.5

New features in PHP 5.5

This is only a summary. For a full list of changes see the NEWS file.

Feature RFC / announcement Author
Bundled ZendOptimizer+ as OPcache zeev
Language changes
Generators and coroutines me
finally blocks laruence
Non-scalar Iterator keys in foreach me
Getting the fully qualified class name using ClassName::class ralph
Function calls in empty() me
list() in foreach laruence
Constant array/string dereferencing laruence
Standard library
Simplified password hashing API ircmaxell
hash_pbkdf2() function ircmaxell
array_column() function ramsey
cli_set_process_title() function kgovande
UConverter class (ext/intl) pollita
IntlCalendar class (ext/intl) cataphrac
IntlBreakIterator class (ext/intl) cataphrac
DateTimeImmutable class (immutable variant of DateTime) (none) derick
Deprecations and removals
Dropped Windows XP and 2003 support (none) pierre
ext/mysql deprecated aharvey
preg_replace /e modifier deprecated me
Logo GUIDs removed ajf
curlwrappers removed (not ext/curl itself!) pierrick

List I use when pasting to other places (without table support):


 * Bundled ZendOptimizer+ as OPcache ( by zeev)

Language changes:

 * Generators and coroutines ( by me)
 * `finally` blocks ( by laruence)
 * Non-scalar Iterator keys in foreach ( by me)
 * Getting the fully qualified class name using `ClassName::class` ( by ralph)
 * Function calls in `empty()` ( by me)
 * `list()` in foreach ( by laruence)
 * Constant array/string dereferencing ( by laruence)

Standard library:

 * Simplified password hashing API ( by ircmaxell)
 * `hash_pbkdf2()` function ( by ircmaxell)
 * `array_column()` function ( by ramsey)
 * `cli_set_process_title()` function ( by kgovande)
 * `UConverter` class in ext/intl ( by pollita)
 * `IntlCalendar` class in ext/intl ( by cataphrac)
 * `IntlBreakIterator` class in ext/intl ( 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 ( by aharvey)
 * preg_replace `/e` modifier deprecated ( by me)
 * Logo GUIDs removed ( by ajf)
 * curlwrappers removed ( by pierrick)
Copy link

christianbundy commented Mar 21, 2013

Thanks, this is super helpful.

Copy link

kotnik commented Mar 21, 2013

For a full list of changes and bugfixes one should go here.

Copy link

victorpuertas commented Mar 21, 2013

Thank you.

Copy link

bradchesney79 commented Mar 21, 2013

Likewise. Additionally, I have been using a bcrypt implementation for a while now and it is nice to see it integrated.

Copy link

markushausammann commented Jun 20, 2013


Copy link

mostofreddy commented Jun 27, 2013


Copy link

Jahak commented Jun 30, 2013

Thank you

Copy link

monolighter commented Jul 1, 2013

God bless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment