PHP 5.4.9 和 PHP 5.3.19 发布,请立即更新

PHP 开发团队今天发布了两个更新版本,分别是 PHP 5.4.9 和 PHP 5.3.19. 这两个版本修复了超过 15 个 bug,建议所有 PHP 用户立即升级到 5.4.9 ,至少也升级到 5.3.19 上。详细的改进记录请看 ChangeLog.

源码下载:downloads page, Windows 可执行文件下载windows.php.net/download/.

  • Core:

    • Fixed bug #63305 (zend_mm_heap corrupted with traits).
    • Fixed bug #63369 ((un)serialize() leaves dangling pointers, causes crashes).
    • Fixed bug #63241 (PHP fails to open Windows deduplicated files).
    • Fixed bug #62444 (Handle leak in is_readable on windows).
  • Curl:

    • Fixed bug #63363 (Curl silently accepts boolean true for SSL_VERIFYHOST).
  • Fileinfo:

    • Fixed bug #63248 (Load multiple magic files from a directory under Windows).
  • Libxml

    • Fixed bug #63389 (Missing context check on libxml_set_streams_context() causes memleak).
  • Mbstring:

    • Fixed bug #63447 (max_input_vars doesn't filter variables when mbstring.encoding_translation = On).
  • OCI8:

    • Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
  • PCRE:

    • Fixed bug #63180 (Corruption of hash tables).
    • Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite).
    • Fixed bug #63284 (Upgrade PCRE to 8.31).
  • PDO:

    • Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec).
  • PDO_pgsql:

    • Fixed bug #62593 (Emulate prepares behave strangely with PARAM_BOOL).
  • Phar:

    • Fixed bug #63297 (Phar fails to write an openssl based signature).
  • Streams:

    • Fixed bug #63240 (stream_get_line() return contains delimiter string).
  • Reflection:

    • Fixed bug #63399 (ReflectionClass::getTraitAliases() incorrectly resolves traitnames).

Version 5.3.19

22-November-2012

  • Core:

    • Fixed bug #63241 (PHP fails to open Windows deduplicated files).
    • Fixed bug #62444 (Handle leak in is_readable on windows).
  • Libxml:

    • Fixed bug #63389 (Missing context check on libxml_set_streams_context() causes memleak).
  • Mbstring:

    • Fixed bug #63447 (max_input_vars doesn't filter variables when mbstring.encoding_translation = On).
  • MySQL:

    • Fixed compilation failure on mixed 32/64 bit systems.
  • OCI8:

    • Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
  • PCRE:

    • Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite).
    • Fixed bug #63284 (Upgrade PCRE to 8.31).
  • PDO:

    • Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec).
  • PDO_pgsql:

    • Fixed bug #62593 (Emulate prepares behave strangely with PARAM_BOOL).
  • Phar:

    • Fixed bug #63297 (Phar fails to write an openssl based signature).
  • Streams:

    • Fixed bug #63240 (stream_get_line() return contains delimiter string).