I’m not sure what lead me to it, but I stumbled across a blog post on how to implement Enums in PHP via userland code written by Jonathan Hohle. I liked the concept he had, but the implementation was a bit unappealing because it used eval() among other more minor issues. You shouldn’t need to generate Enums at runtime, so I took that as a challenge to find a way to do it at compile time, thus maki