SR
Steven Richardson
About Articles. Skills Tools
Articles › php-8.4
TAG ARCHIVE

Everything on php-8.4.

4 articles tagged php-8.4, sorted newest first.

php July 14th, 2026

Parse HTML5 Properly with PHP 8.4's Dom\HTMLDocument

For twenty years, parsing HTML in PHP meant fighting DOMDocument's mangled UTF-8 and XPath. PHP 8.4's Dom\HTMLDocument finally does it properly.

6 min read →
php June 30th, 2026

PHP 8.4: Chain Methods on new Without the Extra Parentheses

PHP 8.4 drops the wrapper parentheses around new, so (new Foo())->bar() becomes new Foo()->bar(). Here's the one rule to remember and the precedence traps to avoid.

6 min read →
php June 20th, 2026

Stop Looping: array_find, array_any and array_all in PHP 8.4

PHP 8.4 adds array_find, array_find_key, array_any and array_all — the readable way to search arrays and retire foreach-with-flag loops.

6 min read →
php June 8th, 2026

Deprecate Your Own Code with PHP 8.4's #[\Deprecated] Attribute

PHP 8.4's #[\Deprecated] attribute turns invisible docblock deprecations into real runtime warnings that reflection and static analysis can see. Here's how to use it in a Laravel package.

6 min read →
← Back to all articles
SR
Steven Richardson

CTO at Digitonic. Writing notes on Laravel, architecture, and the craft of leading software teams — from the west coast of Scotland.

Site

Home About Articles Skills Tools

Elsewhere

GitHub LinkedIn X RSS
© 2026 Steven Richardson
Terms Privacy Built with Laravel + Tailwind