332 Followers
321 Following
941 Posts
Static code analysis maestro @Exakat #PHP expert elePHPant breeder. https://linktr.ee/exakat
PHP
Exakat
Code audit

#[ReturnTypeWillChange] works on native #PHP methods and also on custom ones.

#phptrick #phptip

https://php-tips.readthedocs.io/en/latest/tips/returntypewillchange_for_all.html

ReturnTypeWillChange Is For All

``ReturnTypeWillChange`` is an attribute that tells PHP that the return type of the related method is different from the defined by the PHP native methods

#PHP's NAN is 0 as an integer, 'NAN' as a string and not comparable with itself.

Also, there are now warning when using them, so no one can get hurt by this.

#phptip #phptrick

https://php-tips.readthedocs.io/en/latest/tips/compare_nan.html

Less than 2 weeks to go to apply as a Release Manager for #PHP 8.6

https://news-web.php.net/php.internals/130240

php.internals: Release Managers for PHP 8.6

@joepferguson great job, Joe! I’ll make sure to refer people to it.

Enumerations are backed by strings, they work with in_array(), but not with array_unique()

Well, at least, not directly.

Also, did you know Enum::cases() ?

#phptip #phptrick

https://php-tips.readthedocs.io/en/latest/tips/array_unique_and_enum.html

The PHP License Update RFC is open for voting until 2026-04-04 00:00 UTC.

TL;DR: The proposal is to adopt the Modified BSD License as PHP License v4 and Zend Engine License v3. Read the RFC for full details.

https://news-web.php.net/php.internals/130311

#PHP

php.internals: [VOTE] PHP License Update

Hello fellow conference speakers. The Hungarian web conference in Budapest is looking for speakers, ideally those that can pay their way to some extent (it’s a free conference). It’s on April 18th, so not much notice. Anyone up for that?

More info here: https://webkonf.hu/en

Magyarországi Web Konferencia

Quite a nice take on the current situation.

https://blog.lmorchard.com/2026/03/11/grief-and-the-ai-split/

Grief and the AI Split

TL;DR: AI-assisted coding is revealing a split among developers that was always there but invisible when we all worked the same way. I've felt the grief too—but mine resolved differently than I expected, and I think that says something about what kind of developer I've been all along.

blog.lmorchard.com

@Synchro I am, I am!

and I'm keeping 500km distance between you and me when doing it... to show the right level of respect!

@Synchro Are you telling me that I know a world famous STAR ?!?!!?