There are another 2 #PHP RFCs with similar concept 😵‍💫!

- Records: https://wiki.php.net/rfc/records
- Structs: https://wiki.php.net/rfc/structs-v2

How on Earth voters can process all of that? Each of these RFCs require a lot of attention, I feel sorry for them 😅.
Interesting #PHP RFC: data classes 🤔. With `data` modifier, such classes would have been compared by values they carry, rather than memory allocation (object ID). No more big conditions with multiple expressions, single === would be enough!

wiki.php.net/rfc/dataclass

Comments