Rust is my second favourite programming languages. There are lots of things that I love about it and if I could take some of those features I love and squidge them into PHP, I would. One of those features in Rust's powerful enumerations (enums). Yes, we have had enums in PHP since PHP 8.