PHP 8.6 Readonly Properties Can Have Default Values
The Readonly Property Defaults RFC passed 24 to 0, so PHP 8.6 lets you declare a default on a readonly property instead of setting it in the constructor.
Eric L. Barnes
Language proposals as they move through the internals list. What each RFC changes, how the vote went, and when it reaches a release you will actually run.
The Readonly Property Defaults RFC passed 24 to 0, so PHP 8.6 lets you declare a default on a readonly property instead of setting it in the constructor.
Eric L. Barnes
Time\Duration is merged for PHP 8.6. Build durations are in seconds, milliseconds, or hours; add, divide, and compare them.
Eric L. Barnes
Artisan Build's weekly php-internals video covers the 35-ballot PHP 8.6 deprecation vote closing August 10, with list() still short of two-thirds.
Eric L. Barnes
In PHP 8.6, closures drop the $this they never used, and two stateless closures from the same line are now the same object, so === returns true.
Eric L. Barnes