function reverseBits($n) {
$n = bindec(strrev($n));
return $n;
}
echo reverseBits("00000010100101000001111010011100");
// P.S onlinephp returns correct answer: 964176192, but
// leet code returns 1 at the same case,
// can someone explain to me in the comments ?