Upgrading to PHP 8.6: what actually breaks
PHP 8.6 landed on 19 November 2026, and 8.5 stays in active support until the end of 2027, so nothing here is urgent. This is what 8.6 deprecates, what it changes in a running…
How-to library
Search 269 practical tutorials on Linux, servers, PHP, MySQL and the web.
PHP 8.6 landed on 19 November 2026, and 8.5 stays in active support until the end of 2027, so nothing here is urgent. This is what 8.6 deprecates, what it changes in a running…
PHP 8.4 leaves active support on 31 December 2026, and 8.5 is the upgrade. This is the list of small conveniences 8.5 deprecates and the behaviours it changes, with the replacement for each, measured…
rand() and str_shuffle() are one reproducible generator, and the strings they produce are not the space they look like. What I use instead on PHP 8.4: random_bytes(), random_int() and Random\Randomizer for secrets, password_hash() for…
PHP 8.6 landed on 19 November 2026, and 8.5 stays in active support until the end of 2027, so nothing here is…
PHP 8.4 leaves active support on 31 December 2026, and 8.5 is the upgrade. This is the list of small conveniences 8.5…
rand() and str_shuffle() are one reproducible generator, and the strings they produce are not the space they look like. What I use…
Five PHP releases on 18 and 19 November closed seventeen security issues, seven of them rated critical. Two are session bugs that…
A version switch is a control-panel setting that takes effect on the next request, and that request is where the surprises live.…
Combine and minify CSS and JS at build time instead of on every request: esbuild bundles the JavaScript, the Tailwind 4 CLI…
The loop I used for years to walk an associative array stopped running when each() was removed. This is how I read…
PHP 8.4 added a second HTML parser to the DOM extension, one that follows the HTML5 algorithm the older class predates. This…
The mongo extension is unmaintained since 2017 and absent from PHP 8.4, which reaches MongoDB through a differently named extension. This is…
The mcrypt extension was removed in PHP 7.2, so the old encrypt and decrypt functions stop the script. This is what I…