Home Development of Websites PHP Digest #188 (7 – 21 September 2020)

PHP Digest #188 (7 – 21 September 2020)

by admin

PHP Digest #188 (7 - 21 September 2020)

A fresh selection with links to news and content.In the issue : PHP 8 Beta 4, the PHP community consolidation initiative, the PHP concept for GraalVM, the generic proposal at Internals, useful tools, videos, podcasts, articles.
Enjoy reading!

PHP Digest #188 (7 - 21 September 2020) Newsreleases

PHP Digest #188 (7 - 21 September 2020) PHP Internals

  • Deleted generics (eliding generics) – Brent Roose, known for his posts about Laraveland PHP , has floated the idea of adding generics to PHP, but without runtime checks.
    For example, take this code :
    class Collection<T> {public function add(T $item) { ...}}$c = new Collection<Product> ().

    Static parsers and IDEs will be able to parse and analyze it.Whereas a generic interpreter will ignore it and execute the code as :

    class Collection {public function add(mixed $item) { . }}$c = new Collection().

    The idea is not new. It’s the same way generics work by default and In Hack And in Python, for example, almost all type information is mostly removed and no popular interpreter validates argument types.

  • Observer API – In PHP 8 an internal API will be added to monitor function entry and exit. This is useful for extensions like Xdebug, profilers, and APM solutions New Relic, Tideways, etc.
    Read more about API in the podcast PHP Internals News #68 With the authors Levi Morrison and Sammy K Powers

Tools

PHP Digest #188 (7 - 21 September 2020) Symfony

PHP Digest #188 (7 - 21 September 2020) Laravel

PHP Digest #188 (7 - 21 September 2020) Yii

PHP Digest #188 (7 - 21 September 2020) Async PHP

PHP Digest #188 (7 - 21 September 2020) PhpStorm

PHP Digest #188 (7 - 21 September 2020) Training materials

PHP Digest #188 (7 - 21 September 2020) Audio/Video

PHP Digest #188 (7 - 21 September 2020) Entertaining


Thank you for your attention!
If you notice an error or inaccuracy, please tell us at
Send questions and suggestions to email or at Twitter

More news and comments in our Telegram channel PHP Digest

Send link
Search for links across all digests
Previous issue : PHP Digest #187

You may also like