Beware of bugs in the above code; I have only proved it correct, not tried it.
Donald Knuth

Enums in PHP?

For those of you who have known PHP and programming in general, you might have noticed that PHP has no Enum. Some people say that they need Enum so they have invented several ways to emulate Enum behavior in PHP. (The list below) Read the rest of this entry »

February 17th, 2011 PHP Tags: , , , 2 Comments 1,474 views