Re: Deprecation of the formats DATE_ISO8601 and DATE_RFC7231

From: Date: Sun, 21 May 2023 22:06:14 +0000
Subject: Re: Deprecation of the formats DATE_ISO8601 and DATE_RFC7231
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-120377@lists.php.net to get a copy of this message
> What do you mean? Do you mean that the constant was legal at some point? Sorry, but I don't have this knowledge. It's invalid since 2004, but I suppose this format was implemented before then. Undoubtedly the format is invalid now. The usage in 1000 most popular libraries: DATE_ISO8601 (4 packages, 1 in comments) DateTimeInterface::ISO8601 (18 packages) DateTimeInterface::RFC7231 (1 package - Jetbrains/phpstorm-stubs) DATE_RFC7231 (1 package - Jetbrains/phpstorm-stubs) Most of the packages already inform about deprecation. PHP stubs by Jetbrans warn about deprecation, although it's not officially.

« previous php.internals (#120377) next »