Hi there! Have you heard about Enums? Those are pretty common in typed programming languages like C# and now you can use them with PHP too. I wrote article about it on my website
From now on I will post to newsletter just summaries of my new posts so you will not ny of them. Reason why I doing this and not postyng full article is that I do not see reason to have full articles on both places: here and my blog.
Have a nice day!