Menu

#RedditR

246 posts

Feed·
20 of 246 posts
0Read More

We tagged patch releases for two old major versions of our PHP framework and installs of those versions jumped. Who is still on them?

Reddit r/PHP·u/mychidarko·4 days ago
#kVlA8GEe
#patch#releases#versions#framework#leaf

I maintain Leaf, a small PHP framework that has been around since 2019. We are on v5 now, and v3 and v4 had been quiet on Packagist for a long time.…

15s
0Read More

callgraph: a static call-graph / code-map CLI for PHP codebases (who calls this, what does this method call), free and MIT

#php#redditr#callgraph#call#calls

Disclosure: I'm the author. Free, MIT-licensed, open source, no account. callgraph is a command-line tool that parses PHP (and also TS/Vue, Rust, Swift, Python, Go) and prints a compact map of a file or directory instead of the file itself: classes,…

15s
0Read More

After patching php2shell, how do you check nothing is still running the old PHP?

#php#redditr#workers#restarts#binary

Debian restarts php-fpm when PHP updates, and a reload replaces the workers. But queue workers, supervisord programs and PHP in containers keep the old binary in memory until someone restarts them, and package scanners still report the CVE as fixed.…

15s
0Read More

noctud/collection v0.2 released (Kotlin-style List/Set/Map for PHP), now with lazy pipelines

#php#redditr#no#sequence#line

Hello, at the start of the year I posted about my collection library here (previous post), the reception and feedback was great, and I promised to add lazy pipelines (Sequence) by the end of the year. Finally, it's here in 0.2, but it wasn't made by me..…

15s
0Read More

The PHP Foundation raised ~$71k in one-time donations in October

Reddit r/PHP·u/MorrisonLevi·7 days ago
#ilLsBoVX
#contributions#raised#time#month#reoccurring

I would add an image but apparently the sub doesn't allow it (or Reddit is being unhelpful to me). The usual volume of one-time contributions each month tends to be less than $1k. So roughly ~$70k was raised directly due to PHP2Shell.…

15s
0Read More

Designed Once, Usable Everywhere: why PHP 8.6 adds SortDirection and Time\Duration to the standard library

#php#redditr#time#sortdirection#duration

u/timwolla wrote up the reasoning behind two small PHP 8.6 additions: a SortDirection enum and a Time\Duration class. The short version: a GitHub search found 150+ mutually incompatible SortDirection enums, and PHP's own stdlib expresses durations in at…

15s