So, i learned today that #PHP #php8 has deprecated strftime and #php9 plans to remove it. They officially say you should be using either date() or the intldateformatter suite instead.
Like... what?
strftime is ISO Standard! It's literally POSIX! The format flags are even "printf"-style!
Not only that, but the proposed """replacements""" force you to choose between whatever variant of racism, classism and Americentrism you like!: date() works only in US English and only for numbers, whereas intldateformatter supports languages but requires users of any culture other than "US English" to load a whole PHP module.
Oh, besides you have to change the format strings (woe betide if you are using user-provided!), ALSO these replacements *invert the logic* for processing the format strings as well: intldateformatter etc escapes everything that is *not* a format flag.
Fortunately, forwardports already exist such as https://github.com/alphp/strftime/ .