PHP 7.0.0 RC 3 发布,此版本不是正式版本,请小心升级。

PHP 5.4.14/5.3.24发布。2013-04-11 经过1个RC
上个版本是2013-03-14的5.4.13/5.3.23修正了超过10个Bug以及几个安全漏洞。PCRE升级到8.32
开发版本5.5Beta2.

PHP 7.0.9 正式发布了。

PHP 7.0.0 RC 3 更新记录

完全改进:11 Apr 2013, PHP 5.4.14

下载地址:

下载地址:

  • Core
      . Fixed bug #64529 (Ran out of opcode space). (Dmitry)
      . Fixed bug #64515 (Memoryleak when using the same variablename two
    times in
        function declaration). (Laruence)
      . Fixed bug #64432 (more empty delimiter warning in strX methods).
    (Laruence)
      . Fixed bug #64417 (ArrayAccess::&offsetGet() in a trait causes fatal
    error).
        (Dmitry)
      . Fixed bug #64370 (microtime(true) less than
    $_SERVER[‘REQUEST_TIME_FLOAT’]).
        (Anatol)
      . Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or
    5.4.11).
        (Dmitry, Laruence)
      . Fixed bug #63976 (Parent class incorrectly using child constant in
    class
        property). (Dmitry)
      . Fixed bug #63914 (zend_do_fcall_common_helper_SPEC does not
    handle
        exceptions properly). (Jeff Welch)
      . Fixed bug #62343 (Show class_alias In get_declared_classes())
    (Dmitry)

  • PCRE:
      . Merged PCRE 8.32. (Anatol)

  • SNMP:
      . Fixed bug #61981 (OO API, walk: $suffix_as_key is not working
    correctly).
            (Boris Lytochkin)

  • Zip:
      . Bug #64452 (Zip crash intermittently). (Anatol)

改进日志如下:

  •  

  •  

11 Apr 2013, PHP 5.3.24

– Core:

– Core:

  • Core
      . Fixed bug #64370 (microtime(true) less than
    $_SERVER[‘REQUEST_TIME_FLOAT’]).
        (Anatol)
      . Fixed bug #63914 (zend_do_fcall_common_helper_SPEC does not
    handle
        exceptions properly). (Jeff Welch)
      . Fixed bug #62343 (Show class_alias In get_declared_classes())
    (Dmitry)

  • PCRE:
      . Merged PCRE 8.32). (Anatol)

  • mysqlnd
      . Fixed bug #63530 (mysqlnd_stmt::bind_one_parameter crashes, uses
    wrong alloc
        for stmt->param_bind). (Andrey)

  • DateTime
      . Fixed bug #62852 (Unserialize Invalid Date causes crash).
    (Anatol)

  • Zip:
      . Bug #64452 (Zip crash intermittently). (Anatol)

   . Fixed bug #72508 (strange references after recursive function call
and “switch” statement). (Laruence)

  . Fixed bug #70431 (Memory leak in php_ini.c). (Senthil, Laruence)
  . Fixed bug #70478 (**= does no longer work). (Bob)

下载:

   . Fixed bug #72513 (Stack-based buffer overflow vulnerability in
virtual_file_ex). (Stas)

  • CLI server:
      . Fixed bug #68291 (404 on urls with ‘+’). (cmb)

  • DOM:
      . Fixed bug #70001 (Assigning to DOMNode::textContent does additional
    entity
        encoding). (cmb)

  • Intl:
      . Fixed bug #70453 (IntlChar::foldCase() incorrect arguments and
    missing
        constants). (cmb)
      . Fixed bug #70454 (IntlChar::forDigit second parameter should be
    optional).
        (cmb, colinodell)

  • Mysqlnd:
      . Fixed bug #70456 (mysqlnd doesn’t activate TCP keep-alive when
    connecting to
        a server). (Sergei Turchanov)

  • Opcache:
      . Fixed bug #70423 (Warning Internal error: wrong size calculation).
    (Anatol)

  • OpenSSL
      . Fixed bug #55259 (openssl extension does not get the DH parameters
    from
        DH key resource). (Jakub Zelenka)
      . Fixed bug #70395 (Missing ARG_INFO for openssl_seal()). (cmb)
      . Fixed bug #60632 (openssl_seal fails with AES). (Jakub Zelenka)
      . Implemented FR #70438 (Add IV parameter for openssl_seal and
    openssl_open)
        (Jakub Zelenka)

   . Fixed bug #72573 (HTTP_PROXY is improperly trusted by some PHP
libraries and applications). (Stas) 

  • Phpdbg:
      . Fixed bug #70449 (PHP won’t compile on 10.4 and 10.5 because of
    missing
        constants). (Bob)

  • Session:
      . Fixed bug #70013 (Reference to $_SESSION is lost after a call to
        session_regenerate_id()). (Yasuo)

  • Standard:
      . Implemented the RFC `Random Functions Throwing Exceptions in PHP
    7`.
        (Sammy Kaye Powers, Anthony)
      . Fixed bug #70487 (pack(‘x’) produces an error). (Nikita)

  • Streams:
      . Fixed bug #70361 (HTTP stream wrapper doesn’t close keep-alive
    connections).
        (Niklas Keller)

  • XMLReader:
      . Fixed bug #70309 (XmlReader read generates extra output).
    (Anatol)

  • Zip:

 – bz2:

  . Fixed bug #70322 (ZipArchive::close() doesn’t indicate errors).
(cmb)

   . Fixed bug #72613 (Inadequate error handling in bzread()).
(Stas) 

随着 RC3 的发布,相信正式版将会很快到来。

 – CLI:

文章转载自:开源中国社区 []    

   . Fixed bug #72484 (SCRIPT_FILENAME shows wrong path if the user
specify router.php). (Laruence)

 – COM:

   . Fixed bug #72498 (variant_date_from_timestamp null
dereference). (Anatol) 

 – Curl:

   . Fixed bug #72541 (size_t overflow lead to heap corruption).
(Stas)

 – Exif:

   . Fixed bug #72603 (Out of bound read in
exif_process_IFD_in_MAKERNOTE). (Stas)

   . Fixed bug #72618 (NULL Pointer Dereference in
exif_process_user_comment). (Stas) 

 – GD:

   . Fixed bug #43475 (Thick styled lines have scrambled patterns).
(cmb)

   . Fixed bug #53640 (XBM images require width to be multiple of 8).
(cmb)

   . Fixed bug #64641 (imagefilledpolygon doesn’t draw horizontal
line). (cmb)

   . Fixed bug #72512 (gdImageTrueColorToPaletteBody allows arbitrary
write/read access). (Pierre)

   . Fixed bug #72519 (imagegif/output out-of-bounds access). (Pierre)

   . Fixed bug #72558 (Integer overflow error within
_gdContributionsAlloc()). (Pierre)

   . Fixed bug #72482 (Ilegal write/read access caused by gdImageAALine
overflow). (Pierre)

   . Fixed bug #72494 (imagecropauto out-of-bounds access). (Pierre)

 – Intl:

   . Fixed bug #72533 (locale_accept_from_http out-of-bounds
access). (Stas)

 – Mbstring:

   . Fixed bug #72405 (mb_ereg_replace – mbc_to_code (oniguruma) –
oob read access). (Laruence)

   . Fixed bug #72399 (Use-After-Free in MBString (search_re)).
(Laruence)

 – mcrypt:

   . Fixed bug #72551, bug #72552 (In correct casting from size_t to
int lead to heap overflow in mdecrypt_generic). (Stas) 

 – PDO_pgsql:

   . Fixed bug #72570 (Segmentation fault when binding parameters on a
query without placeholders). (Matteo)

  – PCRE:

   . Fixed bug #72476 (Memleak in jit_stack). (Laruence)

   . Fixed bug #72463 (mail fails with invalid argument). (Anatol)

 

 – Readline:

   . Fixed bug #72538 (readline_redisplay crashes php). (Laruence)

  – Standard:

   . Fixed bug #72505 (readfile() mangles files larger than 2G).
(Cschneid)

   . Fixed bug #72306 (Heap overflow through proc_open and $env
parameter). (Laruence) 

 – Session:

   . Fixed bug #72531 (ps_files_cleanup_dir Buffer overflow).
(Laruence)

   . Fixed bug #72562 (Use After Free in unserialize() with Unexpected
Session Deserialization). (Stas)

 – SNMP:

   . Fixed bug #72479 (Use After Free Vulnerability in SNMP with GC and
unserialize()). (Stas) 

 – Streams:

   . Fixed bug #72439 (Stream socket with remote address leads to a
segmentation fault). (Laruence) 

 – XMLRPC:

   . Fixed bug #72606 (heap-buffer-overflow (write) simplestring_addn
simplestring.c). (Stas)

 – Zip:

   . Fixed bug #72520 (Stack-based buffer overflow vulnerability in
php_stream_zip_opener). (Stas)

文章转载自:开源中国社区 []