In my neverending amateur journey through the wonders of coding, here is something I've learnt in PHP today : how to conveniently store a set of flags into one value, with bitmask comparisons made easy thanks to PHP bitwise operators. Sounds greek to you ? Read on, it's this kind of things that are piece […][...] → Read more