Posts Tagged ‘PHPClassLib’

Posted in Blog on October 5, 2008

Enums in PHP

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& ... Continue Reading