Greetings everyone!

PHP 8.0 is gaining momentum and adoption is increasing, as evidenced by Composer’s statistics.

Meanwhile, PHP internals have accepted a bunch of changes for PHP 8.1, including a new never type and namespaces in bundled PHP extensions, and some features that will be deprecated.

The PHP 8.1 release managers have been selected, and there are several interesting proposals under discussion, including property accessors, pure intersection types, and final constants.

Read more about this news in the May edition of PHP Annotated. As usual, we’ve carefully selected a collection of articles, tools, videos, and streams for you.

News

PHP Versions Stats – 2021.1
  • The traditional compilation of statistics based on the data that Composer sends when it connects to packagist.org:
  • PHP 7.4: 45.92% (+3.31)
  • PHP 7.3: 21.30% (-5.75)
  • PHP 7.2: 12.89% (-2.39)
  • PHP 8.0: 9.44% (+9.17)
  • PHP 7.1: 5.21% (-2.24)
PHP is available on Google Cloud Functions
  • Google Cloud’s serverless platform now natively supports PHP. With  GoogleCloudPlatform/functions-framework-php/ you can run functions in a PHP 7.4-based runtime.
  • There are a few more details in the  discussion on GitHub in the Symfony repository. Symfony 5.3 should run on GCF smoothly, thanks to the Runtime component. You just need to install  php-runtime/google-cloud.

#laravel #php #php-8-1 #rfc #symfony #yii

PHP Annotated — May 2021
1.30 GEEK