To fake a PHP enum

Today I was sort of in a need of an enum in PHP. This, of course, doesn’t exist so I had to make the best of what I had. I…Today I was sort of in a need of an enum in PHP. This, of course, doesn’t exist so I had to make the best of… Continue Reading