Destructuring only worked positionally, so a row fetched as an associative array had to be unpacked by hand — three assignments and a typo waiting to happen. A…
The first release where installing a package is one command. Auto-discovery removes two config edits per package, and hides the fact that they happened.
A child class could never remove a parameter type from a method it overrides, even though accepting more than the parent is safe by the same rule that…
@include passes variables and shares the parent scope, which means a partial silently depends on whatever happened to be defined where it was included. @component takes a slot…
Type-hinting array rejects a generator, and hinting Traversable rejects an array — so a function meant to consume a sequence either had no hint or forced the caller…
PHP has several callable syntaxes — a string, an array of object and method, an invokable — and functions accepting callable have to tolerate all of them. Converting…