PHP 5.4.31 came out on 24 July 2014. Below is the full list of changes it made, grouped by the part of PHP that each one affects.
The changes are listed in English, exactly as the PHP developers wrote them (15 in total).
Core
Fixed bug #67428 (header('Location: foo') will override a 308-399 response code). (Adam) Fixed bug #67436 (Autoloader isn't called if two method definitions don't match). (Bob) Fixed bug #67091 (make install fails to install libphp5.so on FreeBSD 10.0). (Ferenc) Fixed bug #67151 (strtr with empty array crashes). (Nikita) Fixed bug #67407 (Windows 8.1/Server 2012 R2 reported as Windows 8/Server 2012). (Christian Wenz) Implemented FR #34407 (ucwords and Title Case). (Tjerk)
CLI server
Implemented FR #67429 (CLI server is missing some new HTTP response codes). (Adam) Fixed bug #66830 (Empty header causes PHP built-in web server to hang). (Adam)
FPM
Fixed bug #67530 (error_log=syslog ignored). (Remi) Fixed bug #67531 (syslog cannot be set in pool configuration). (Remi)
Intl
Fixed bug #67052 (NumberFormatter::parse() resets LC_NUMERIC setting). (Stas)
pgsql
Fixed bug #67550 (Error in code "form" instead of "from", pgsql.c, line 756), which affected builds against libpq < 7.3. (Adam)
Phar
Fixed bug #67587 (Redirection loop on nginx with FPM). (Christian Weiske)
Streams
Fixed bug #67430 (http:// wrapper doesn't follow 308 redirects). (Adam)
Session
Fixed bug #66827 (Session raises E_NOTICE when session name variable is array). (Yasuo)
← Previous release: PHP 5.4.30 Next release: PHP 5.4.32 →
This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net .
Related articles
Useful articles to help you determine if you need to upgrade your server's PHP version and how to go about doing so.
Read more →
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.
Read more →
← Back to Guide Index
Article last updated: 21st October, 2026