
PHP Digest No. 156 (May 6 - 20, 2019)

Fresh selection with links to news and materials. In the release: PHPRussia, PHP fwdays'19, WordPress 5.2, about PHP in 2019, news from PHP Internals, a portion of useful tools, and much more.
Enjoy reading!
News and Releases
- PHP Russia 2019 - The conference was powerful and, I hope, will become an annual event! Photos can be viewed in FB and VK . Slides are available now, and video reports will be available soon.
- PHP fwdays'19 - Kiev, June 1
Another great conference will be held very soon! The program is formed, among speakers: Fabien Potencier (Symfony), Marco Pivetta (ZF, Doctrine), Dmitry Naumenko (Yii), and many other speakers in 3 streams. By tradition, especially for readers of PHP Digest, a 15% discount on the promotional code: PHP-digest-fwdays .
- WordPress 5.2 “Jaco” - In the release, the minimum version of PHP is upgraded to PHP 5.6.20, protection against fatal errors in plugins and themes, safe updates are added .
PHP internals
- [RFC] Change the precedence of the concatenation operator - Accepted proposal to lower the priority of the concatenation operator
.
. The behavior will be changed in PHP 8, and 7.4 PHP will throw a warning when using expressions.
before+
or-
without brackets.echo "sum: " . $a + $b; // текущее поведение echo ("sum: " . $a) + $b; // поведение в PHP 8 echo "sum :" . ($a + $b);
- [RFC] Numeric Literal Separator - It is proposed to add the ability to use a character
_
as a separator in numbers, to increase readability:
The proposal had already failed in the vote two years ago, but since then a similar feature has been added in Python, JavaScript and TypeScript.$i = 197_823_459; // 197823459
PHP Internals News Podcast # 10 - With Nikita Popov on the Lisk Substitution Principle and Operator Priorities.
Instruments
- bramus / composer-autocomplete - Autocomplete composer commands on the command line, including scripts from the scripts section.
- krakjoe / parallel - An extension from the author of pthreads with a simplified interface for using multithreading. In the new version, channels and events for communication between streams. Usage example .
- lezhnev74 / openapi-psr7-validator - Validates PSR-7 messages (HTTP requests / responses) based on the OpenAPI specification.
- nunomaduro / phpinsights - The console tool runs code quality checks and displays them in a beautiful way.
- ircmaxell / phpvm - PHP version manager (concept), an analogue of rvm for Ruby.
- paragonie / multi_factor - Secure multi- factor authentication for your PHP applications.
- BitOne / php-meminfo - An extension that displays information about memory usage and is designed to detect leaks.
Symfony
- Symfony Week # 646 (May 13-19, 2019)
- In Symfony 5, you probably cannot specify the symfony / symfony dependency in composer.json, but only list specific packages.
- Why you should not use Event Listener'y from Symfony
Laravel
Yii
Async php
- apisearch-io / symfony-async-kernel - The concept of an asynchronous adapter for Symfony Http Kernel. A series of posts in support.
- clue / reactphp-sqlite - Asynchronous library for working with SQLite database. It works through a child process. More details in the post .
Asynchronous PHP and the history of one bike ( service-bus )
Learning Materials
- PHP in 2019 - Today PHP is not at all what it was 7 years ago . In a post, an overview of the ecosystem for those who are not in the topic of PHP or stuck in legacy.
- New in PHP 7.4
- PSR-14 Case Study: Multi- Layer Caching
- Writing a Serverless Lumen Application for AWS Lambda and DynamoDB
PhpStorm hotkey memo in Russian - Submitted by tommyv888 .
FunPHP # 6: Some more magic in PHP7 - More magic in a report by Alexander Lisachenko on PHPRussia.
PHP module for working with hierarchical data in InterSystems IRIS
Fix design pattern - Singleton in PHP
PHP 7.4 will include arrow functions (abbreviated notation of anonymous functions)
Thanks for attention!
If you notice a mistake or inaccuracy - please inform me in PM .
Questions and suggestions write to mail or twitter .
More news and comments on the PHP Digest Telegram Channel .
Send link
Search links for all digests
← Previous release: PHP Digest No. 155