1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/ext
Daniel Scherzer 4233394e8f ReflectionClass: show enums differently from classes
While internally enums are mostly the same as classes, their output in
`ReflectionClass::__toString()` should show the enum as the developer wrote it,
rather than as the engine stored it. Accordingly

- Say that the enum is an enum, not a final class

- Include the backing type, if any, in the declaration line

- List enum cases separately from constants, and show the underlying values, if
any

GH-15766
2025-03-26 13:45:25 -07:00
..
2025-03-24 10:06:36 +00:00
2025-03-14 10:51:50 +01:00
2025-03-18 22:04:29 +01:00
2025-02-17 10:27:47 +03:00
2025-03-07 18:08:30 +00:00
2025-03-21 14:25:23 +01:00
2025-03-08 12:27:56 +01:00
2025-03-15 00:51:28 +01:00
2025-03-11 23:00:43 +01:00
2025-03-16 14:26:38 +01:00
2025-03-23 16:35:21 +01:00
2025-01-15 20:37:19 +00:00
2025-03-13 07:48:50 +01:00
2025-03-20 23:14:37 +01:00
2025-03-15 08:52:03 +09:00
2025-02-26 21:30:32 +01:00
2025-03-20 23:14:37 +01:00
2025-03-26 17:46:38 +00:00
2025-02-16 00:17:12 +01:00
2025-03-10 11:28:43 +01:00
2025-03-21 08:26:04 +01:00
2025-03-24 19:35:30 +01:00
2025-03-02 22:41:21 +01:00
2025-02-22 16:00:45 +01:00
2025-03-03 08:22:55 +01:00
2025-03-02 22:41:21 +01:00