SR
Steven Richardson
About Articles. Skills Tools
Articles › syntax
TAG ARCHIVE

Everything on syntax.

1 article tagged syntax, sorted newest first.

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 →
← 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