PHP 7.0.2 Official Release _php instance

Source: Internet
Author: User
Tags benchmark curl php language memory usage parse error reserved web hosting web hosting services

For more than seven years, PHP has been the fourth most popular programming language, driving more than 200 million sites worldwide, with more than 81.7% of the world's public Web sites using PHP on the server side. PHP has had the biggest leap since 2004, since PHP 7 has been released. The biggest feature of PHP 7 is that it greatly improves performance, and in some WordPress benchmark tests, performance can reach 3 times times that of PHP 5.6.

Download Address:

PHP 7.0.2 Final for Windows 32-bit (14.59 MB)
PHP 7.0.2 Final for Windows 64-bit (14.59 MB)
PHP 7.0.2 Final for Linux (10.52 MB)

PHP 7 has other minor improvements, such as significantly reduced memory usage, adding return type declarations, and more. PHP 7 contains some significant security improvements, such as removing PHP security mode, adding magic quotes, some new reserved keywords, and so on. This means that Web applications like WordPress need to be partially redesigned to prepare for the release of PHP 7, and now WordPress appears to be fully compatible with PHP 7.

Although PHP 7 has been released, it will take years for the Web application, especially for enterprise Web applications, to be upgraded to a new version of the platform. However, many web developers believe that the huge performance improvements of PHP 7 are attractive to them.

Version 7.0.2

Modified 2016

Core:

Fixed bug #71165 (-dgc_bench=1 doesn ' t work on PHP7). The
Fixed bug #71163 (segmentation fault:cleanup_unfinished_calls). The
Fixed bug #71109 (zend_mod_conflicts ("Xdebug") doesn ' t work). The
Fixed bug #71092 (segmentation fault with return type hinting).
Fixed bug memleak in Header_register_callback.
Fixed Bug #71067 (Local object in class method stays in memory for each call). The
Fixed bug #66909 (Configure fails UTF8_TO_MUTF7 test).
Fixed Bug #70781 (Extension tests fail on dynamic ext dependency).
Fixed bug #71089 (No check to duplicate zend_extension).
Fixed Bug #71086 (Invalid numeric literal parse error within highlight_string () function).
Fixed bug #71154 (incorrect HT iterator invalidation causes iterator reuse).
Fixed Bug #52355 (negating zero does not produce negative zero). The
Fixed bug #66179 (var_export () exports float as Integer).
Fixed Bug #70804 (unary add on negative zero produces positive zero).

CURL:

Fixed Bug #71144 (sementation fault when using CURL with Zts).

Dba:
Fixed key leak with invalid resource.
Filter:
Fixed Bug #71063 (filter_input (input_env, ...) does not work).

Ftp:

Implemented FR #55651 (Option to ignore the returned FTP PASV address).
Fpm:

Fixed Bug #70755 (fpm_log.c memory leak and buffer overflow).

Gd:

Fixed Bug #70976 (Memory Read via gdimagerotateinterpolated Array Index out of Bounds).

Mbstring:

Fixed Bug #71066 (Mb_send_mail:program terminated with signal SIGSEGV, segmentation fault).

Opcache:

Fixed Bug #71127 (Define in Auto_prepend_file is overwrite).

PCRE:

Fixed Bug #71178 (preg_replace with arrays creates [0] in the Replace array if not already set).

Readline:

Fixed Bug #71094 (readline_completion_function corrupts static array on second TAB).

Session:

Fixed Bug #71122 (Session GC-May-not-remove obsolete session data).

Spl:

Fixed Bug #71077 (Reflectionmethod for Arrayobject constructor returns wrong number of parameters).
Fixed Bug #71153 (performance degradation in arrayiterator with large arrays).

Standard:

Fixed Bug #71270 (Heap bufferover flow in Escapeshell functions).

WDDX:

Fixed Bug #70661 (use the vulnerability in WDDX Packet deserialization).
Fixed Bug #70741 (Session wddx Packet deserialization Type Confusion vulnerability).

XMLRPC:

Fixed Bug #70728 (Type confusion Vulnerability in php_to_xmlrpc_worker).

PHP 7.0.2 Official release: WordPress speed upgrade 3 times times!

When it comes to PHP, someone would say it's the best programming language in the world. The popularity of the world, now more than 81.7% of the server back end of the use of PHP language, it drives more than 200 million sites around the world. The official version of the PHP7 was released early last month, ushering in the biggest update since 2004. Now, the PHP 7.0.2 is officially released.

The most notable change in PHP7 is the great performance boost, which is close to the PHP implementation engine HHVM developed by Facebook. In the WordPress benchmark performance test, the speed is 2~3 times faster than the 5.6 version, which greatly reduces the memory footprint. PHP7 also has some changes in language, such as adding a return type declaration, adding some new reserved keywords, and so on. On the security side, remove the PHP security mode, add magic quotes, and so on. Not only that, the new version also supports 64-bit, and contains the latest version of the Zend engine.
Although officially released, the popularity of PHP7 will take a long time, and many web hosting services, enterprise Web applications, for compatibility, may continue to use older versions for a long time to come. For now, however, WordPress, the world's most popular PHP blogging platform, has been best prepared for PHP7.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.