3 ms·BIT operations in PHP (a simple example)3 points by chunkyslink 16y agodreur 16y agoAn interesting way of dealing with flags depending on the kind of app you are developing, I wouldn't use that technique often.duskwuff 16y agoGenerally best avoided in web applications, as all the database engines I'm familiar with can't use indexes for bitwise operations.