Position of rightmost different bit | function to find rightmost different bit in two numbers . ; Driver code
< ? php function posOfRightMostDiffBit ( $ m , $ n ) { $ t = floor ( log ( $ m ^ $ n , 2 ) ) ; return $ t ; } $ m = 52 ; $ n = 4 ; echo " Position ▁ = ▁ " , posOfRightMostDiffBit ( $ m , $ n ) ; ? >