PHP摘要#189(2020年9月21日至10月5日)



带有新闻和资料链接的新鲜选择。即将发布:PHP 8.0 RC 1和内部函数参数,PhpStorm 2020.3 EAP,多行短lambda,属性组的属性和其他PHP Internals新闻的重命名,有用的工具,文章,流,播客的一部分。



享受阅读!





新闻和发布



  • PHP 8.0.0 RC 1 — - 8. 4 - 15 .



    core- . PDO. .
  • PhpStorm 2020.3 EAP — . PHP 8 — . Xdebug 3, PHPStan/Psalm ( ), Guzzle HTTP- .
  • PHP 7.2.34
  • PHP 7.3.23
  • PHP 7.4.11
  • RU phpcommunity.ru — PHP-, -.
  • Hacktoberfest 4 - .



    - , - readme. PR. DigitalOcean - , ‘hacktoberfest’.



    , - issues #hacktoberfest PHP-.


PHP Internals



  • 检查 [PR] Attributes on property groups — , , .
    class FooBar {
        #[NonNegative]
        public int $x, $y, $z;
    }
    
  • 检查 [PR] Attributes and strict typesstrict_types=1.
  • [PR] OPCache: Direct execution opcode file without php source code file — PR, . , - Java .pyc / .pyo.



    , PHP- . .phar, .



    . PHP . -, PHP 7.4.22 segfault PHP 7.4.23. — .
  • [PR] Multiline arrow functions — , PHP 7.4, . - :
    $guests = array_filter($users, fn ($user) => {
    
      $guest = $repository->findByUserId($user->id);
    
    
      return $guest !== null && in_array($guest->id, $guestsIds);
    
    });
    


    , use.



    , =>:
    fn() => {}
    fn() {}




  • thephpleague/event 3.0.0 — PSR-14.
  • terrylinooo/simple-cache — PSR-16 , Redis, MySQL, SQLite, APC, APCu, Memcache, Memcached WinCache.
  • Code With Me (EAP) — IDE JetBrains.
  • Bolt 4.0 — CMS Symfony- .


Symfony



  • Symfony 5.2 PHP 8 — : #[Route('/path', name: 'action')] , #[Required] .
  • Symfony.
  • Symfony #718 (28 — 4 2020)


Laravel



  • spatie/laravel-typescript-transformer — PHP Typescript . .
  • 哈伯 Laraveldrandin/closure-table-comments
  • 哈伯 , ORM
  • 哈伯 Laravel 8
  • 哈伯 Laravel Jetstream —
  • 哈伯 Laravel– (28 – 4 2020)
  • PHP Laravel Spatie
  • 视频 Laravel Worldwide Meetup #3: Yaz Jallad — PhpStorm. PHP Russia.


Yii



  • W3C WordPress CraftCMS, Yii 2. , .


Async PHP



  • micc83/mailamie — SMTP- . ReactPHP.




  • IDE , ? — , .
  • @.
  • , .
  • .gitattributes PHP-.
  • PHP?« Rust», Psalm PHP . : «there’s never been a better time to start a new PHP project».
  • 哈伯 PHP. ?
  • 哈伯 php-developer 2020.


/



  • 视频 PHP- Xdebug — C Xdebug.
  • 视频 c rectorphp/rector.
  • RU音讯 № 11 — () PHP , , .
  • RU视频 — Yii 3 .
  • 视频 - PHP 8 — Brent Roose Freek Van der Herten .







感谢您的关注!



如果您发现错误或不准确,请亲自告诉我们

问题和建议写在邮件推特上



有关PHP Digest Telegram频道的更多新闻和评论



发送

链接在所有摘要中搜索链接

上一期:PHP-摘要#188




All Articles