mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Since PHP 8.1, the `strftime()` and `gmstrftime()` functions are deprecated:
> The `strftime()` and `gmstrftime()` functions exhibit similar issues as `strptime()`, in that the formats they support, as well as their behavior, is platform-dependent. Unlike `strptime()`, these functions are available on Windows, though with a different feature set than on Linux. Musl-based distributions like Alpine do not support timezone-related format specifiers correctly. These functions are also locale-based, and as such may exhibit thread-safety issues.
>
> `date()` or `DateTime::format()` provide portable alternatives, and `IntlDateFormatter::format()` provides a more sophisticated, localization-aware alternative.
Reference: [https://wiki.php.net/rfc/deprecations_php_8_1#strftime_and_gmstrftime PHP RFC: Deprecations for PHP 8.1: strftime() and gmstrftime()]
> The `strftime()` and `gmstrftime()` functions have been deprecated in favor of
> `date()/DateTime::format()` (for locale-independent formatting) or
> `IntlDateFormatter::format()` (for locale-dependent formatting).
Reference: [
|
||
|---|---|---|
| .. | ||
| bootstrap.php | ||
| cleanDirsizeCache.php | ||
| getBlogDetails.php | ||
| getIdFromBlogname.php | ||
| getMainSiteId.php | ||
| getSite.php | ||
| getSpaceAllowed.php | ||
| getSpaceUsed.php | ||
| isEmailAddressUnsafe.php | ||
| isUploadSpaceAvailable.php | ||
| ms-files-rewriting.php | ||
| network.php | ||
| networkQuery.php | ||
| site.php | ||
| siteDetails.php | ||
| siteMeta.php | ||
| siteQuery.php | ||
| updateBlogDetails.php | ||
| uploadIsUserOverQuota.php | ||
| wpGetSites.php | ||
| wpInstallDefaults.php | ||
| wpMSSitesListTable.php | ||
| wpmuValidateBlogSignup.php | ||
| wpmuValidateUserSignup.php | ||