PHP 5.4.18发布。2013-08-15 经过2个RC 上个版本2013-07-04的5.4.17.修正了大约30个Bug以及几个安全漏洞。尽管5.5.1已发布。但5.4还未停止更新。5.3的最后常规版本是5.3.27 相信很多人还没敢在生产环境中升级到5.5. 5.4应该还是主流。
完全改进:
Version 5.4.18
15-Aug-2013
Core:
Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value).
Fixed bug #65254 (Exception not catchable when exception thrown in autoload with a namespace).
Fixed bug #65108 (is_callable() triggers Fatal Error).
Fixed bug #65088 (Generated configure script is malformed on OpenBSD).
Fixed bug #62964 (Possible XSS on "Registered stream filters" info).
Fixed bug #62672 (Error on serialize of ArrayObject).
Fixed bug #62475 (variant_* functions causes crash when null given as an argument).
Fixed bug #60732 (php_error_docref links to invalid pages).
Fixed bug #65226 (chroot() does not get enabled).
CGI:
Fixed bug #65143 (Missing php-cgi man page).
CLI server:
Fixed bug #65066 (Cli server not responsive when responding with 422 http status code).
CURL:
Fixed bug #62665 (curl.cainfo doesn't appear in php.ini).
FPM:
Fixed bug #63983 (enabling FPM borks compile on FreeBSD).
FTP:
Fixed bug #65228 (FTPs memory leak with SSL).
GMP:
Fixed bug #65227 (Memory leak in gmp_cmp second parameter).
Imap:
Fixed bug #64467 (Segmentation fault after imap_reopen failure).
Intl:
Fixed bug #62759 (Buggy grapheme_substr() on edge case).
Fixed bug #61860 (Offsets may be wrong for grapheme_stri* functions).
mysqlnd:
Fixed segfault in mysqlnd when doing long prepare.
ODBC:
Fixed bug #61387 (NULL valued anonymous column causes segfault in odbc_fetch_array).
Openssl:
Fixed handling null bytes in subjectAltName (CVE-2013-4073).
PDO:
Allowed PDO_OCI to compile with Oracle Database 12c client libraries.
PDO_dblib:
Fixed bug #65219 (PDO/dblib not working anymore ("use dbName" not sent)).
PDO_pgsql:
Fixed meta data retrieve when OID is larger than 2^31.
Phar:
Fixed bug #65142 (Missing phar man page).
Session:
Fixed bug #62535 ($_SESSION[$key]["cancel_upload"] doesn't work as documented).
Fixed bug #35703 (when session_name("123") consist only digits, should warning).
Fixed bug #49175 (mod_files.sh does not support hash bits).
Sockets:
Implemented FR #63472 (Setting SO_BINDTODEVICE with socket_set_option).
SPL:
Fixed bug #65136 (RecursiveDirectoryIterator segfault).
Fixed bug #61828 (Memleak when calling Directory(Recursive)Iterator /Spl(Temp)FileObject ctor twice).
Fixed bug #60560 (SplFixedArray un-/serialize, getSize(), count() return 0, keys are strings).
XML:
Fixed bug #65236 (heap corruption in xml parser, CVE-2013-4113).
下载:http://us1.php.net/distributions/php-5.4.18.tar.bz2
来自:开源中国社区

