[php-src] Issue #8351: explicit `__construct` call for \DateTimeImmutable object would break immutable
| From: | derickr | Date: | Fri, 29 Apr 2022 10:24:48 +0000 |
| Subject: | [php-src] Issue #8351: explicit `__construct` call for \DateTimeImmutable object would break immutable | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241320@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8351
Comment Author: derickr
I'm closing this as we've come to the conclusion that this is the same as working around
encapsulation through Reflection, and that calling
__construct() is not a normal thing
to do.