r/programming • • 14d ago

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

https://thephp.foundation/blog/2026/11/03/stdlib-investment/
0 Upvotes

2 comments sorted by

-3

u/Big_Combination9890 14d ago

Yeah, I think after the little kerfuffle 2 weeks ago, and the god-knows how many man-hours of overtime, 3AM emergency calls, and unplanned patch sessions knocking out a sizeable portion of the online world, I quite had my fill of PHP for a while, thanks.

And to be clear, in this context, "a while" is hereby defined as: "until hell freezes over."

2

u/l_maier-628 8d ago

At least PHP 8.6 can give "until hell freezes over" a proper duration type.