8.1 on 25 November, and the feature PHP had been simulating with class constants for a decade. A status column holding three spellings of the same thing.
8.1, and a keyword that removes a getter per property. Forty value objects, each with private fields and public accessors that existed only to prevent writes.
The three logical assignment operators short-circuit, which means the right-hand side is not evaluated and the assignment does not happen at all when the operator does not fire.…
A static block’s save output is stored in the post, and changing it invalidates every existing instance unless the old shape is still declared. Without the deprecation the…
A snapshot test asserts that output has not changed, which is only useful if somebody reads the diff when it does. The regeneration reflex is what makes snapshot…
A module exposing every attribute of the resources it wraps has not abstracted anything — it is the same configuration with an extra indirection. The test is whether…