Back to Home

PHP Digest No. 118 - Latest News, Materials and Tools (September 24 - October 9, 2017) / Zfort Group Blog

digest · php digest · links · PHP · Symfony · Yii · Laravel · Zend · Magento · ReactPHP

PHP Digest No. 118 - breaking news, materials and tools (September 24 - October 9, 2017)


    Fresh selection with links to news and materials. In the release: PHP 7.2.0 RC 3 and other releases, 5 years of digest, offers from PHP Internals, a fresh book on asynchronous PHP, a new profiler extension, and much more.
    Enjoy reading!



    News and Releases



    PHP internals


    • [RFC] Allow a trailing comma in function calls - It is proposed to allow the use of a comma at the end of the list of function arguments:

      var_dump(
          $whatIsInThere,
          $probablyABugInThisOne,
          $oneMoreToCheck,
      );
      
    • PHP 7.2 has not yet been released, and work on the next versions is already in full swing. For example, in 7.3 , sparse conditional constant propagation optimization is implemented . This allows the interpreter to simplify this function:

      Class C {
          public $i;
      }
      function fn(int $x) {
          $c = new C;
          $c->i = 1;
          if ($x) {
              $a = [1, 2, 3];
          } else {
              $a = [3, 2, 1];
          }
          return $a[$c->i];
          $c->i++;
          return $x;
      }
      

      to this one:

      function fn(int $x) {
          return 2;
      }
      

      We are waiting for news about JIT, which is also being worked on .

    Instruments



    Learning Materials



    Audio and video



    Entertaining



    If you notice a mistake or inaccuracy - please inform me in PM .
    Questions and suggestions write to mail or twitter .

    Send link
    Quick search for all digests
    Previous release: PHP Digest No. 117


    Today the PHP Digest is 5 years old! During this time, 6203 links were published . And this is what the very first issue looked like .
    Many thanks to everyone who helps make the digest, to those who send links and edits, write articles and develop tools, and, of course, many thanks to you! Together we make the PHP world a better place!

    Read Next