On Aug 16 2024, at 6:49 pm, Rob Landers <rob@bottled.codes> wrote: > > That being said, I would like to be able to use | and & on integer enums more > than I would strings as stringables. Something like “flags” mode in C#. Maybe > even make “flag” a backing type of enums. It would make a ton of json flags > much simpler to reason about (and filters/sanitizers). It'd be nice but I'm not gonna argue about the integer flavors of the enums right now :)
- Re: [PHP-DEV] String enums & __toSt... Gina P. Banyard
- Re: [PHP-DEV] String enums & __... Bilge
- Re: [PHP-DEV] String enums &am... Larry Garfield
- Re: [PHP-DEV] String enums... John Coggeshall
- Re: [PHP-DEV] String enums... Rowan Tommins [IMSoP]
- Re: [PHP-DEV] String enums... John Coggeshall
- Re: [PHP-DEV] String enums... Rowan Tommins [IMSoP]
- Re: [PHP-DEV] String enums... Gina P. Banyard
- Re: [PHP-DEV] String enums... Bilge
- Re: [PHP-DEV] String enums & __toString... Rob Landers
- Re: [PHP-DEV] String enums & __toSt... John Coggeshall
- Re: [PHP-DEV] String enums & __toString() Levi Morrison