OPcache keeps compiled bytecode in shared memory, which is empty after every restart — so the first requests following a deploy or an FPM reload each pay full…
Session settings had to be applied with ini_set() before session_start(), in the right order, from somewhere that ran early enough — which is why so many applications have…
composer show –latest lists everything with a newer version, which on a mature project is forty lines that all look equally urgent and are not. The –minor-only list…
PHP 7 added scalar type hints and then made them optional in a way that surprises people: without declare(strict_types=1) the engine coerces, so a function typed int happily…
When Composer installs an old version of something you never asked for, the answer is always a transitive constraint — and reading composer.lock to find which package imposed…
Eloquent fires saving, created, deleted and the rest when a model instance is saved. A mass update or delete goes straight to the query builder and fires nothing…
The rule reads backwards from how everyone assumes it works. declare(strict_types=1) governs the calls made from that file, not the calls made into the functions declared in it.…