[php-src] PR #13845: Changed DateTime(Immutable)::setDate parameters to all be optional
| From: | Bilge | Date: | Sat, 30 Mar 2024 22:37:26 +0000 |
| Subject: | [php-src] PR #13845: Changed DateTime(Immutable)::setDate parameters to all be optional | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25583@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13845
Author: Bilge
When calling
DateTime::setDate or DateTimeImmutable::setDate, any and all
parameters can now be omitted. Any parameters omitted are unchanged. Omitting all parameters is
equivalent to a no-op (although in practice the same values overwrite themselves).