I understand that bitwise operations are necessary for much low-level programming, such as writing device drivers, low-level graphics, communications protocol packet assembly and decoding. I am doing PHP for several years now, I have seen bitwise operations very rarely in PHP projects.
Can you give me examples of usage?