PHP Digest number 144 (November 12 - 26, 2018)


    Fresh selection with links to news and materials. In the release: PHP 7.3.0RC6, PhpStorm 2018.3 and other releases, Symfony leaves PHP-FIG, the latest offers and news from PHP Internals, a portion of useful tools, videos from past meetings and conferences and much more.
    Enjoy reading!



    News and Releases


    • PHP 7.3.0RC6 - The sixth and, probably, the last release candidate of the 7.3 branch. With bated breath we are waiting for the final release already on December 6th. In the meantime, you can once again see what's new in 7.3 in recent reviews here and here . There are a few benchmarks available that show a performance gain of ~ 10% compared with 7.2.
    • HTTP / 3 over QUIC - It is decided that the next HTTP standard will use QUIC, which in turn works over UDP, not TCP. A QUIC overview from CloudFlare is available , including a problem with NAT and other nuances.
    • habrPhpStorm 2018.3 is available
      • DQL support
      • PHP CS Fixer
      • New refactorings
      • Deployment to many hosts at the same time
      • GitHub Pull Requests
      and many other improvements!
    • Symfony leaves PHP-FIG - Symfony leader Fabien has removed himself and the framework from the list of members of the PHP-FIG group. And commented on his decision on Twitter :

      In this light, Anthony Ferrar’s open letter to PHP-FIG seems to be still relevant , in which he says: “Please stop solving common problems. Solve 50% of problems, not 99%. ”
      Two years ago, representatives of Laravel, Propel, Doctrine, Guzzle, Stash and Aura left the PHP-FIG group, mainly due to the fact that they didn’t particularly take part in the discussions.

    Php internals


    • RFC: Password Hashing Registry - Offer accepted for the next version of PHP and allows you to register your own hashing algorithms in extensions.
    • RFC: Spread Operator in Array - It is proposed to add an operator ...for arrays.
      Hidden text
      $parts = ['apple', 'pear'];
      $fruits = ['banana', 'orange', ...$parts, 'watermelon'];
      // ['banana', 'orange', 'apple', 'pear', 'watermelon'];
    • [RFC] Preloading - RFC vote on preloading files has ended. All core-team members unanimously supported this proposal. So next year at 7.4 we are waiting for the opportunity to preload any files into opkash. All functions and classes declared in these files will be available for all subsequent requests, as if they were inline elements like strlen () or Exception.

      There are detailed discussions of support for this feature in Composer and Symfony (sent by @dmitrybalabka ), and also the concept of the Ayesh / Composer-Preload plugin is available .

    Instruments



    Study materials



    Audio and video



    Thanks for attention!

    If you notice an error or inaccuracy - please inform the PM .
    Write questions and suggestions by mail or twitter .

    More news and comments on the PHP Digest telegram channel .

    Send link
    Search links for all digests
    Previous release: PHP Digest number 143


    Also popular now: