check the bits of the two given positions of a number are same or not in PHP

PHP
🤖 Code Explanation
This code is checking whether the bits at position 1 and 2 in the number $num are the same or not. If they are the same, it will print "Same", otherwise it will print "Not Same".

More problems solved in PHP




















