#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.
https://php-tips.readthedocs.io/en/latest/tips/compare_nan.html
| PHP | |
| Exakat | |
| Code audit |
#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.
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
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() ?
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.
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
Quite a nice take on the current situation.
https://blog.lmorchard.com/2026/03/11/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.
#PHP puzzle of the day: can you make Chidren::foo() call GrandParents::foo() ?
Think about it, and then, click below for the solution(s).