PHP 5.4.31 发布,包括超过 10 个 bug 修复,建议所有 PHP 5.4 的用户都升级到这个版本。此版本现已提供下载,Windows 二进制包请前往这里下载,更多更新内容请看更新日志:
Core:
Fixed bug #67428 (header(‘Location: foo’) will override a 308-399 response code).
Fixed bug #67436 (Autoloader isn’t called if two method definitions don’t match).
Fixed bug #67091 (make install fails to install libphp5.so on FreeBSD 10.0).
Fixed bug #67151 (strtr with empty array crashes).
Fixed bug #67407 (Windows 8.1/Server 2012 R2 reported as Windows 8/Server 2012).
CLI server:
Implemented FR #67429 (CLI server is missing some new HTTP response codes).
Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
FPM:
Fixed bug #67530 (error_log=syslog ignored).
Fixed bug #67531 (syslog cannot be set in pool configuration).
Intl:
Fixed bug #67052 (NumberFormatter::parse() resets LC_NUMERIC setting).
pgsql:
Fixed bug #67550 (Error in code “form” instead of “from”, pgsql.c, line 756), which affected builds against libpq < 7.3.
Phar:
Fixed bug #67587 (Redirection loop on nginx with FPM).
Streams:
Fixed bug #67430 (http:// wrapper doesn’t follow 308 redirects).