Php learning: Learn more about PHP7

Source: Internet
Author: User
Php learning: Learn more about PHP7

This PHP study will give you a deep understanding of the special characteristics of PHP 7. What are the differences between PHP 7 and other versions? what are the advantages? The performance breakthrough of PHP 7 has become one of the hot topics in the IT industry recently. The next php getting started tutorial will answer relevant questions one by one.
PHP 7 performance improvement: PHP 7 is twice faster than PHP 5.6, with fully consistent 64-bit support, removing some old unsupported SAPIs (server-side application programming ports) and extension, added the null join operator (??)


Test results:

It can be seen that PHP 7 is more than several times faster than PHP 5.4.
Benchmark Results in the community:

Test results of the test scenario on the WordPress Open Source blog homepage:

New features of PHP 7 include:
1. Performance Improvements with the addition of PHPNG engine. (use the PHPNG engine to improve Performance)
2. JIT-Just in Time compiler (instant editor JIT Compiler)
3. Abstract Syntax Tree for compilation (Abstract Syntax Tree compilation)
4. Asynchronous refactoring of the I/O layer. (Asynchronous reconstruction of the I/O layer)
5. Multi-threaded build in Web Server (Multi-threaded Web Server construction)
6. Expanded use of->, [], (), {}, and: operators (extended use->, [], (), {}, and :: symbol)
7. 100% increase in performance (performance improvement by 100% (should be QPS ))

8. Cool Name: PHPNG (Cool Name: PHPNG engine)

So far, the official PHP 7.0.0 Beta 3 has been released. the topic of the PHP version is performance optimization. in previous versions, PHP has always been famous for its high development efficiency, but its own performance is poor. PHP7, as a new generation of php, has a performance improvement of over 60% to up to 200% in a variety of common open-source projects. Nowadays, many people compare the performance of PHP7 with HHVM, mainly introducing the new features of PHP7 and various major performance optimization work results. The biggest highlight is that attributes can be improved.
The above is all the content of php learning in this issue. I hope it will help you learn php and quickly learn the differences in the new features of php 7 so that you can better use php! For more php video tutorials, log on to the online teaching platform of the course provider to query related courses. Related Materials: http://www.kokojia.com/s/64.html


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.