PHP Annotated Monthly – January 2019

PHP Annotated Monthly

Greetings everyone,

Please welcome our first PHP Annotated Monthly of this year, with all the latest news and notable materials coming up from the world of PHP. Read all about the PHP updates, PHPStan, Psalm, Deployer, and other releases. There is news from PHP Internals, Laravel, Yii, and Symfony, some async PHP stuff, useful tools, and a whole lot more!

⚡️ News & Releases

🐘 PHP Internals

  • [RFC] Typed Properties 2.0 — Nikita announced that the feature is ready and merged now. It is recommended to try it out sooner rather than later, so any problems can be revealed in the early stages. Rasmus Schultz with his blog post is considering possible design flaws when using typed properties.
    The fun thing is that with typed properties in PHP 7.4 you can emulate typed variables using classes and a reference:

    There is already a library which implements this idea azjezz/typed.

  • [PHP] FFI — Despite some concerns about security and stability, the voting for FFI has passed successfully, and the proposal is now accepted. It means that the feature will be delivered with the next major release.

🛠 Tools

Symfony

Laravel

Yii

🌀 Async PHP

🚨 Security

💡 Misc

Thanks for reading!

Your JetBrains PhpStorm Team
The Drive to Develop

This entry was posted in PHP Annotated Monthly. Bookmark the permalink.
  • Francisco Almeida

    Just a minor correction: FFI will be implemented in the next minor release (7.4), not major.

    Other than that, thank you for your excellent work (as always)!

    • http://pronskiy.com Roman Pronskiy

      PHP does not strictly follow SemVer, so considering the impact of changes in 7.4, I would say it’s going to be pretty major!

  • https://keybase.io/furgas Tomasz Sawicki

    Can we expect support for typed properties in PhpStorm before PHP 7.4 release? And when? Maybe in some RC/EAP.

    • http://pronskiy.com Roman Pronskiy

      Yes, it’s definitely will be in EAP version first, but usually we do it when PHP goes into RC cycle.

  • http://perlasmusicales.wordpress.com/ sdecandelario

    Excellent collection, as usual :)

  • Olatunbosun Egberinde

    Another Awesome collection!