Fresh selection with links to news and materials. In the release: What will happen with PHP support on Windows, PHP 8 Alpha 2, ReactPHP - officially production-ready, 2 new RFC proposals and 6 on the vote, a portion of useful tools, articles, videos and podcasts.
Enjoy reading!
News and releases
- PHP 8.0.0 Alpha 2 β 4 . 2- , , , /.
- PHP 7.4.8, PHP 7.3.20, PHP 7.2.32 β Windows, CVE-2020-8169 libcurl. β .
- PHP Russia 2020, 29 , β β PHP 8 !
- Microsoft, Windows PHP β Microsoft , PHP Windows 7.2, 7.3 7.4 , . PHP Windows 8.0.
, Microsoft - PHP, , . PHP Windows, , PHP, PHP- -.
Joe Watkins, Azure:
PHP Internals
PHP 8.0
- [RFC] Match expression v2 β : match switch match .
=>
,:
β match- , , C#, Rust, Scala, (->) Java Kotlin. - [RFC] StackFrame class β
debug_backtrace()
. StackFrame, ArrayAccess. - [RFC] Rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON - Offer rejected, but in 8.1 it is planned to completely remove token names in error messages.
A whole bunch of proposals are in the voting stage and it looks like everyone will pass:
- [RFC] Named Arguments - 49 : 17 The named argument vote has generated a lot of controversy and polarized the community.
Those who do not fear backward compatibility issues and bloated APIs.
In support of the proposal, there is a great post why named arguments are needed in PHP . And also Nikita's detailed answer at Internals .
And an example of use together with the declaration of properties in the constructor:
Hidden text:
PHP 8 :
- [RFC] Treat namespaced names as single token β 28:3.
- [RFC] Saner numeric strings β 20:3.
- [RFC] Saner string to number comparisons β 31:1.
- [RFC] Nullsafe operator β 44:2.
- [RFC] Allow trailing comma in closure use lists β 44:0.
PHP 8.1
- [RFC] Deprecations for PHP 8.1 β . PHP 8.0, Nikolas Grekas 8.0 , *.0 Symfony.
- [RFC] Objects can be declared falsifiable β RFC
Falsifiable
__toBool()
,bool
.
, -able β : - FFI Improvements β SerafimArts FFI.
- PHP 8.1 Enum β Ilija Tovilo ,
Enum
PHP 8.1. Larry Garfield .
- JBZoo/Composer-Diff β composer.lock, changelog' MR/PR Β«composer updateΒ». smetdenis.
- JBZoo/Composer-Graph β composer.json.
- ergebnis/factory-bot β Doctrine ORM. .
- phpsandbox.io β codepen/jsfiddle PHP. - .
Symfony
Laravel
- spatie/laravel-schedule-monitor β (cron) Laravel. .
- Laravel URL-
- Illuminate\Http\Request.
- Laravel- (13β19 2020)
- Laravel AWS Lambda Bref β brefphp/laravel-bridge.
- Laravel Worldwide Meetup #1 β Laravel, Laravel.
Yii
- Yii 2020, 5
- tbreuss/yii2-inertia β Inertia.js Yii 2.
Async PHP
- reactphp/http 1.0 β HTTP ReactPHP.
ReactPHP - 2 .
PhpStorm
- PhpStorm Psalm PHPStan β 2020.3, .
- GitHub JetBrains/phpstorm-psalm-plugin JetBrains/phpstorm-phpstan-plugin. , . - () IDE JetBrains β . .
- PhpStorm, But Better β Tips & Tricks Newsletter β PhpStorm. .
- Christoph Rumpel: PhpStorm Laravel.
- PhpStorm 2020.2 Beta β . Whatβs Coming in PhpStorm 2020.2.
- Serverless LAMP: -.
- GitHub Actions CI PHP .
- Inertia.js β .
- readable β PHP, JS.
- PHP .
- POST , (multipart/form-data).
/
- PHP Point #1: vs .
- β 10: β Unit-.
- PHP fwdays 2020: β Whatβs new in PHP 8.0?, Jordi Boggiano, β , Derick Rethans β Introduction to PHP Extensions.
- Marco Pivetta .
- PHP Internals News #61 β PHP 8.
- PHP Internals News # 62 - From George Peter Banyard on Changes to Numeric String Handling .
Thank you for attention!
If you notice an error or inaccuracy, please let us know in a personal .
Questions and suggestions write to mail or twitter .
More news and comments on the PHP Digest Telegram channel .
Send link
Search links in all digests
β Previous issue: PHP-Digest β 183