ReflectionClass output for enums
| From: | Daniel Scherzer | Date: | Tue, 25 Feb 2025 17:27:41 +0000 |
| Subject: | ReflectionClass output for enums | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-126504@lists.php.net to get a copy of this message | ||
Hi internals,
A few months back I sent <https://github.com/php/php-src/pull/15956>
for
improving the output of
ReflectionClass::__toString() when used for enums
(and ReflectionEnum::__toString(), which just inherits that method).
Since this is technically a breaking change if anyone is relying on the
output of the string representations, it was suggested that I bring this up
on the mailing list. Any objections?
-Daniel