dseguy
dseguy@phpc.social
<p>Static code analysis maestro <span class="h-card" translate="no"><a href="https://phpc.social/@Exakat" class="u-url mention">@<span>Exakat</span></a></span> <a href="https://phpc.social/tags/PHP" class="mention hashtag" rel="tag">#<span>PHP</span></a> expert elePHPant breeder. <a href="https://linktr.ee/exakat" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">linktr.ee/exakat</span><span class="invisible"></span></a></p>
Posts
-
View post
You are living in a bad neighboorhood (in terms of network...) Is that better ?
-
View post
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 : https://3v4l.org/eUjJ4#v8.5.10 Damned, already talking about #php 8.7?
-
View post
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, smoother progression and various fixes. If you are starting with #PHP, read it and bring me what can make it even more awesome. DM are open! https://thephpbook.readthedocs.io/en/latest/title-page.html
-
View post
@vohanj@phpc.social I did leave some bait in this picture.
-
View post
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 https://php-tips.readthedocs.io/en/latest/tips/less_arguments.html
-
View post
#PHP delivers
-
View post
From #mastodon you can hop to #lemmy and get daily news about #PHP https://lemmy.world/c/php It&#39;s not much, but it&#39;s honest work.
-
View post
#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 https://php-tips.readthedocs.io/en/latest/tipSection.html
-
View post
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 https://php-tips.readthedocs.io/en/latest/tips/unreachable_method.html
-
View post
A manually curated list of multi-language applications that also supports #PHP https://www.exakat.io/also-php-a-curated-watchlist-for-the-php-ecosystem/
-
View post
@afup il y a deux ans, j ai eu cet elePHPant blanc durant le forum. Je cherche l auteur de cette merveille, qui a maintenant une admiratrice et un petit frère! @Coriography
-
View post
#PHP&#39;s NAN is 0 as an integer, &#39;NAN&#39; 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
-
View post
#[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
-
View post
preg_split() splits #PHP strings with regexes, captures the separators and can handle an empty regex. You don&#39;t need that everyday, but when you do, #PHP has it! #phptip #phptrick https://php-tips.readthedocs.io/en/latest/tips/preg_split.html
-
View post
Strategies to rename a parameter in a #PHP method https://www.exakat.io/renaming-parameters-in-a-method/
-
View post
#PHP defined() in action: there are many aspects when checking for a constant existence. #phptip #phptrick https://php-tips.readthedocs.io/en/latest/tips/defined.html
-
View post
New word: zombie closure That is when you put $this in a static closure, you can run the #PHP code but you can&#39;t call it. Just a reminder about static arrow functions. #phptip #phptrick https://php-tips.readthedocs.io/en/latest/tips/static_arrow_function.html
-
View post
It is Friday, so why not cram as many #PHP operators in one single operation, and make it work? Look at this beauty! Could you make it run? #phptip #phptrick https://php-tips.readthedocs.io/en/latest/tips/allDereferencements.html
-
View post
November 20th, 2025: PHP 8.5 arrives! 🐘 We’re throwing a release party at PHP Rotterdam, and you’re invited! Expect PHPun, knowledge-sharing, and great company at Last Mile Solutions! https://eventy.io/events/q8lmw0v4 #PHP #PHP85 #Community #Rotterdam #Developers
-
View post
Would it be cool to have a #PHP ::parent operator, like we have the ::class operator Well, turns out we can. #phptip #phptrick https://php-tips.readthedocs.io/en/latest/tips/parent_operator.html
-
View post
#PHP puzzle of the day: can you make Chidren::foo() call GrandParents::foo() ? Think about it, and then, click below for the solution(s). #phptip #phptrick https://www.exakat.io/calling-all-ancestors/
-
View post
I don’t use ai generated image but when i do, it shows #dpc 😂
-
View post
Quite a nice take on the current situation. https://blog.lmorchard.com/2026/03/11/grief-and-the-ai-split/
-
View post
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
-
View post
Old elePHPant meeting future delta robot elePHPant #dpc
-
View post
I just ran into PHPoC, aka #PHP on a Chip! The company provides IoT solutions, with components programmables with #PHP! The website also is made with #PHP, but of course! https://www.phpoc.com/
-
View post
#PHP, in French, it means 'Protection des Hautes Personnalités' : Protection of high-ranking officers. Straight from the government web site. https://www.gendarmerie.interieur.gouv.fr/gendinfo/dossiers/gign-3.0/les-php-protecteurs-de-hautes-personnalites