6.1 adds argument and return value resolution that removes the serialisation boilerplate from a controller action. Moving serialisation out of the action makes the controller shorter and moves…
A container reads the host’s memory and CPU counts from /proc, because those files are not namespaced, and anything sizing itself from them sizes for the wrong machine.…
A log line saying that an order was updated answers none of the questions asked during a dispute. Recording only the changed fields rather than the whole model…
A latency histogram tells you the 99th percentile is four seconds and cannot tell you which request that was, and an exemplar attaches a trace id to a…
rand and mt_rand are seeded generators whose output is predictable from a small number of samples, and they are still the first result for “php random number”. The…
clone copies the initialised state of a readonly property, so modifying the copy throws and every wither has to construct a new instance. The verbosity compounds: a value…
The filesystem abstraction moved from returning false on failure to throwing, and Laravel 9 wraps that in a setting rather than a change. Defaulting to the old behaviour…