dseguy
@dseguy@phpc.social
Static code analysis maestro @Exakat #PHP expert elePHPant breeder. https://linktr.ee/exakat
Recent public posts
- Intval() and the binary integer in a string. #phptip #phptrick. https://php-tips.readthedocs.io/en/latest/tips/intval_binary_string.html
- Send me your lesser known #PHP blogs, I’ll read them!
- Here is a classic situation, where injecting an array of arrays leads to the infamous list of 'Array, Array, Array...' What #PHP tool do you use to guard agains...
- It relies on OOM (out of memory), so I'd start with that. A crash segfault. I don't think there are published indicators of compromises yet, besides some IP add...
- array_is_list() does check the index since 0, so even if it is numerically indexed, it may fail the function. #phptip #phptrick. https://php-tips.readthedocs.io...
- 🐘 PHPenomenal 8.6 is on! Write a "useful" #PHP app that actually uses PHP 8.6's new features: partial function application, clamp(), Time\Duration, readonly pr...
- #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,...
- 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 hu...
- You are living in a bad neighboorhood (in terms of network...) Is that better ?
- 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 tha...
- 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 ...
- Functioncall are not possible in a #PHP definition of a default value, or a constant. Modern PHP versions allows strlen() there. Why so? #phptip #phptrick. http...
- 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 #phptr...
- The #PHP SIG onboarding group is working of an introduction book for our favorite language. The current draft 0.4.0 is available here, with numerous feedbacks, ...
- 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? #phptip #p...
- Naming is hard: typephp, typephp, native PHP, nativePHP, and PHP native? There are quite some confusion notions these days in #PHP ecosystem. https://www.exakat...
- La communication de la SNCF laisse à désirer: j achète ou j achète pas?
- A quick peak at how to check if a #PHP string is a integer. As usual, there are some findings. More on that later. #phptip #phptrick. https://php-tips.readthedo...
- How BlackBox found and fixed a bug in #PHP. https://innmind.org/documentation/blog/2026/08/blackbox-found-a-vulnerability-in-php/
- 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. ht...