#PHP dev Squad is getting close to 22k members! We have the largest selection of links to the CVE explanations here. dly.to/zzRWqw6ra15
Damien Seguy
Damien Seguy
@dseguy.bsky.social
Code quality fanatic, static analysis expert @exakat, elephpant breeder, husband, father, speaker!
686 followers273 following403 posts
Important read now that the patches for #PHP 8.x are out. Thanks @alexdaubois.bsky.social and the whole #PHP team. daubois.dev/blog/cve-202...
Every Road Around the Zend Engine 🚗 There are so many ways to run PHP code... without #PHP! Recompilation, engine rewrite, using other VM, or languages. It was time to take a step back. www.exakat.io/every-road-a...
#phptip #phptrick
#PHPC tip: on the PHP 8.6 beta, this is false: version_compare(PHP_VERSION, '8.6.0', '>='); // "8.6.0beta2" < "8.6.0" `version_compare()` ranks beta below the release. Gate on the integer instead: if (PHP_VERSION_ID >= 80600) { $page = clamp($page, 1, $totalPages); } #PHP #PHP86 #phparch
Damien Seguy reposted
PIE 1.5 has been released, with new installation and upgrading features to make your life easier. 💙🥧 thephp.foundation/blog/2026/1... #php #pie #pecl
Damien Seguy reposted
You can now run WebAssembly directly in PHP. The extension is called veewee/ext-wasm. It brings a native WASM runtime to your PHP scripts. github.com/veewee/ext-w... #PHP #WebAssembly #OpenSource 1/3
Damien Seguy reposted
Il vous reste une semaine tout juste pour prendre vos billets pour le Forum PHP 2026 : rejoignez la communauté PHP les 8-9 octobre à Disneyland Paris et profitons d'être ensemble pour discuter sur l'évolution de nos métiers. On en a toutes et tous besoin ! buff.ly/BeDt94o
Damien Seguy reposted
Damien Seguy reposted
🐘 PHPenomenal 8.6 is on! Write a "useful" #PHP app that actually uses PHP 8.6's new features. One rule: share your source code by Nov 19, 2026, when PHP 8.6 drops. Best entries wins! 🏆 Join in → open an issue on the repo. #PHP #PHP86 #PHPenomenal www.exakat.io/phpenomenal-...
#PHP lazy class constant is the default behavior when creating constant with expressions, rather than literal values. This is both clever and a hidden trap. So, let's review that! www.exakat.io/lazy-class-c...
Vale reads the comments in your #PHP code and apply checks: grammar, spelling and style, to make sure they are consistent and expressive. A tool for the most human part of the code. Install, review and run. www.exakat.io/vale-reviews...
What happens when you chain #PHP list() calls? And when you include a full assignement in the middle? Also, with #PHP 8.6 deprecating the list keyword, modern code likes like chains of arrays. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
Damien Seguy reposted
📰 Nouvelle revue de presse #Symfony, #PHP & #IA Cette semaine : → Symfony 8.2 continue d’évoluer → PHP 8.6 approche du feature freeze → Composer 3 se prépare → Les agents Copilot gagnent en contrôle et en autonomie À lire 👇 www.gelaude.fr/articles/sym...
🐘 Calling all PHP devs on Bluesky! Join the PHP Dev Squad for the latest #PHP news, cool projects and community activities. Share what you're building, learn from others and stay in the loop. You're invited 👇 #PHPDev #WebDev dly.to/zzRWqw6ra15
What do you mean, I can't redeclare a property static? I know! How did I end up with such an error in my #PHP linting? Well, it is actually more interesting than it looks. Here is a whole adventure! www.exakat.io/what-do-you-...
So, it's too late for #PHP 8.6, but can I ask for composable first class callable of the second order for #PHP 8.7? I tried even with |> operator, it fails. Is the only solution here to do a closure? Try it yourself : 3v4l.org/eUjJ4#v8.5.10 Damned, already talking about #php 8.7?
Damien Seguy reposted
I forgot the link about the PHP 2D game engine Phrost so here it is: www.youtube.com/watch?v=UOft...
Damien Seguy reposted
Can you have the same property both static and non static in a #PHP class? I mean, it is quite easy with methods, but properties? Well, #PHP can. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
Damien Seguy reposted
Damien Seguy reposted
Damien Seguy reposted
J'ai adhéré à l'AFUP cette année et vous devriez en faire autant aux associations qui sont dans votre écosystème : lettreouverte.afup.org
Damien Seguy reposted
La situation est grave à l'AFUP. Et pas que chez nous: c'est tout le secteur des événements techniques qui souffre. Aujourd'hui, ensemble, 32 assos, communautés et orgas d'events tech partagent une lettre ouverte pour la survie de nos rassemblements. Prenez part au mouvement ! buff.ly/EbSRXsf
Rebuilding Taipan! with an AI Pair Programmer in PHP Taipan! is a classic Apple ][c game and... we are in 2026. www.exakat.io/rebuilding-t...
Damien Seguy reposted
str_replace() replaces ALL occurences. What if you only want to replace one of them? I have 3, but there are others. What other option do #PHP offer? php-tips.readthedocs.io/en/latest/ti... #phptip #phptrick
Damien Seguy reposted
str_replace() replaces ALL occurences. What if you only want to replace one of them? I have 3, but there are others. What other option do #PHP offer? php-tips.readthedocs.io/en/latest/ti... #phptip #phptrick
Naming is hard: typephp, typephp, native PHP, nativePHP, and PHP native? There are quite some confusion notions these days in #PHP ecosystem. www.exakat.io/typephp-nati...
Sometimes, null is an actual argument in #PHP native functions, and it is not obvious that features it unleashes. #phptrick #phptip www.exakat.io/the-secret-l...
Damien Seguy reposted
This is a friendly reminder that if you have not yet completed the State of PHP Survey, you should do so. And you should tell your PHP friends and family to do so, too. I mean, look how excited these people are to be taking this! surveys.jetbrains.com/s3/phpnet-s... #php #stateofphpsurvey #phpstorm
Damien Seguy reposted
I wrote a more in-depth explanation on how innmind/black-box found a security vulnerability in #PHP innmind.org/documentatio...
(With a bit of delay) #TodayWithBlackbox While upgrading innmind/filesystem with innmind/black-box 7 it failed with strange errors. When parsing paths with `Uri\WhatWg\Url` (inside innmind/url) it failed and returned my own code.
How do you turn a boolean into the strings 'true' and 'false' in #PHP ? Easy? Yes. Diversified? Yes. Now, which one is training AI? #phptip #phptrick www.exakat.io/convert-a-bo...
TIL that JSON tolerates duplicate keys. #PHP does not: it may only keep the last one, or throw an exception as error. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
Damien Seguy reposted
All you ever wanted to know about bizarre unicode that can be used as name in #PHP. #phptip #phptrick www.exakat.io/when-php-mee...
Damien Seguy reposted
I Checked Every php.* Domain on the Internet. There is room for the future for #PHP! www.exakat.io/i-checked-ev...
Pop quizz #PHP on Friday evening: How can you remove an argument between the parent class and the child class? Is that an impossible task? #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
Damien Seguy reposted
Enthusiasm for contributing to #PHP often fizzles out before it has a chance to catch fire. I've proposed a Working Groups RFC to change that. Here's the case for it and how you can help shape it. https://ben.ramsey.dev/blog/2026/07/who-do-i-talk-to
#PHP 8.4 introduced array_find() to look for a value in an array, and also, its cousin, array_find_key(), which returns the key where to find that value. The second got less attention, but is arguably more useful. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
Damien Seguy reposted
Damien Seguy reposted
WE ARE ON BLUE SKY! #PHP debs, hello! @thephpf.bsky.social
PHP has been around for 31 years, but do many developers know who is shaping its future? 🐘 @secondej.bsky.social recently interviewed Elizabeth Barron, the new Executive Director of The #PHP Foundation, discussing the language, the community, and the future of PHP. 👉 Read the full interview:
So, it seems that it is possible to paint oneself in a corner and write an unreachable method. How would you call A::foo() in this code below? Come on, #PHP, there must be something here. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
A manually curated list of multi-language applications that also supports #PHP www.exakat.io/also-php-a-c...
Damien Seguy reposted
My latest guide covers using Composer to install dependencies in production-ready Docker images for PHP applications: nth-root.nl/en/guides/co...
Convert a #PHP multi-dimensional array or list of objects to a Hash map easily, with array_column(). #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
Damien Seguy reposted
RE: https://mastodon.social/@nunomaduro/116737484529116730 Tagging with #PHP for greater reach 😁
Damien Seguy reposted
Happy 31st Birthday to the #PHP programming language. en.wikipedia.org/wiki/PHP