News for hackers. Stuff that matters.
Re:Stop Using Pseudo-Types by pwdisswordfishy on Monday February 02, 2026 @10:40AM (#46857212)
And how is Closure::fromCallable('trim') recommended by the article any better in that respect?

    $ php8.4 -r "var_dump(Closure::fromCallable('trim') === Closure::fromCallable('trim'));"
    bool(false)
Re:Stop Using Pseudo-Types by joe_hoyle on Monday February 02, 2026 @12:06PM (#46858338)
It is not better, this is a problem with the first-class callable syntax altogether.