Myth: magic methods make code easier to maintain because there's less of it.
It's shorter code, but your IDE, PHPStan, and the next developer can't see what exists. Make sure you declare the properties.

Myth: magic methods make code easier to maintain because there's less of it.
It's shorter code, but your IDE, PHPStan, and the next developer can't see what exists. Make sure you declare the properties.
#PHPC tip: PHP 8.6 lets you put `#[\Override]` on class constants.
Rename the parent constant, and the child fails at compile time instead of drifting into a separate, unused constant.
Video: https://youtu.be/U9Jrcg1Ns1k
My PHP 8.6 video covers the features I think will make my personal life better. Which one should I have covered instead?
https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/
#PHPC tip: PHP 8.6 adds `clamp()`, so the two-`if` range check goes away.
Swap min and max, and PHP throws a `ValueError`.
Video: https://youtu.be/U9Jrcg1Ns1k
Applications for The PHP Foundation contractors for 2027 are now open! We are looking for help in certain areas but we are open to your ideas as well. Application period ends on October 20, 2026. Apply now! thephp.foundation/blog/2026/0...
#PHPC tip: PHP 8.3 added `json_validate()`, so you can stop decoding a payload just to find out whether it parses.
It skips building the object graph, so a large webhook body costs you a parse instead of a parse plus the memory.
Packagist turns 15, with more than 200 billion package installs 🎉
How Composer and Packagist started, 15 years of milestones, recent growth, and our plans for supply chain security and funding.
Community events are the lifeblood of the PHP ecosystem. We are happy to launch the Community Events Coalition SIG to help keep these crucial pieces of our community thriving. Read more: thephp.foundation/blog/2026/0...
#php #phpc
@dseguy has a fun project to use all the new #php86 features in a script. This is my part. It was based on one of my favorite subjects (state machines), and I had to force a bunch of the new features. :-)
@longhornphp is one of my favorite #phpc #conferences (I'm paying out of pocket for my ticket, hotel, and airfare to go), and they need your help. Get the word out, please!!!
We're super excited for #SymfonyCon 2026 in Warsaw Nov 26-27 and happy to sponsor again! A must-go for anyone working with PHP and #Symfony. Great content, fantastic people. Now more than ever: educate yourself and keep up with ecosystem & tech in general.
#PHPC tip: I keep reaching for match(true) when an if/elseif ladder exists only to pick a value.
Every arm is a boolean condition, and the first true wins. It uses strict comparison, and it throws an error when nothing matches unless you give it a default.
Strategy Document: thephp.foundation/blog/2026/0...
PHPC Discord: discord.phpc.social/ (find us in the-php-foundation channel)