Written on the occasion of PHP7 release some words _php tutorial

Source: Internet
Author: User

Write some words on the occasion of PHP7 's release


Do open source also has 4, 5 years of time, from the initial yaf, to today's PHP7, I participate in more and more projects, the use of my Code users are more and more, tomorrow will release the PHP7, is definitely I engaged in open source of one of the most important milestone, I should commemorate today, let me slightly sentimental once.

PHP7 Project started last spring Festival, at that time we based on the PHP-5.5 Opcache JIT project is basically because we can not get the desired results and shelved, some in the JIT when the information gathered let us realize that the basic part is not good enough, and can not be very good support of the JIT, So in February 2014 or so, we started the refactoring project, and the hope was that by refactoring, we could get more than 30% of the sex boost and provide the basis for further optimization in the future.

There was no name for the project at that time, we were just trying, those months were my busiest time, because only the two of us in this project, I also because of their own microblog work is also relatively busy, so basically only the night time is on the top. Fortunately, I have a 5-hour time difference with another person, so a lot of work can be serialized.

As the project moved forward, we were pleasantly surprised to find that the performance improvement was bigger than we thought, and by April another person had joined in, and by May it had basically done most of the work, so we announced the result, named PHP ng project.

But what I didn't think of was that we had a lot of resistance in the community, because when we secretly developed PHP Ng, the community was also parallel to a 64-bit project sponsored by Microsoft's classmates, and when we made public with PHP Ng, they questioned the sudden holding of such a large patch, No one else understands, how the follow-up is maintained, how to merge with 64 supported branches, and so on, then oppose the adoption of the PHP NG branch. At that time I was very depressed, the long-lasting quarrel also made me feel very tired, finally because I really can not, cavity anger, regardless of their own crappy English, in the mail group back to a spit slot mail, called on everyone to cherish this performance promotion branch.

There is a very interesting episode, there are many supporters of PHP Ng, they are also very depressed about this quarrel, one day, some supporters on the PHP official website published such a news: Http://php.net/archive/2014.php#id2014-05-27-1 Which reads: "When we aren ' t looking for pictures of kittens on the Internet, internals developers is nearly always looking for Ways to improve PHP, a few developers has a focus on performance. "But the opponents of the day said, no, PHP Ng has not been accepted, asked to delete this article, fortunately, considering that the article has been sent out, At the end of the page dropped the entry of this article, just keep the content in the archive. Many media have felt the black dragon.

After the argument, we have to vote to decide whether to accept PHP ng, fortunately, when the final vote, the majority of people support the PHP NG project, and decided to base on PHP ng, to start our new version of PHP development. It was not yet determined whether to use the PHP6 or the PHP7 version (later voted PHP7). I now often say that this experience has made me feel the "pain of democracy".

After the things we can all see, in this nearly two years, the addition of various new features, the performance of the continuous improvement, a lot of previous unreasonable local improvements, etc., are added to the PHP7, let PHP7 more and more plump. From the bottom of the zval to the scalar type hint, from the initial 30% performance improvement to now more than 100% performance leap, every change is worth looking forward to. And then after a few reluctant jumps, finally, to this day, it will all be present in front of you.

Sometimes I think, I am lucky, lucky in always have the opportunity to do not have to do and have the challenge of things, lucky in always can feel their growth, fortunately in the majority of efforts, after all, see the effect, have been rewarded. I also sincerely hope that my luck can inspire more people to participate in the open source.

In the future, we will continue to be committed to improve PHP performance, improve the quality of PHP, so that more phper, can continue to enjoy transparent ascension.

Finally, do open source so long, bring me a lot of harvest, I want to thank you, thank you for these encouragement, but also thank those good-natured fallacy.

PS: Originally wanted to wait until after the release of PHP7, but thought can be for its arrival momentum, first released. PHP7 is now available to download, the official announced that considering the problem of jet lag, the day after tomorrow to see it. Current download Address: Http://php.net/get/php-7.0.0.tar.gz/from/a/mirror enjoy!

http://www.bkjia.com/PHPjc/1077039.html www.bkjia.com true http://www.bkjia.com/PHPjc/1077039.html techarticle write on the occasion of PHP7 release some words do open source also has 4, 5 years of time, from the initial yaf, to today's PHP7, I participate in more and more projects, using my code more and more users, tomorrow ...

  • 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.