For every set bit of a number toggle bits of other | function for the Nega_bit ; Driver code
< ? php function toggleBits ( $ n1 , $ n2 ) { return $ n1 ^ $ n2 ; } $ n1 = 2 ; $ n2 = 5 ; echo toggleBits ( $ n1 , $ n2 ) . " STRNEWLINE " ; ? >