Is there any possibility to see binary representation of variable?
$a = 42; for($i = 8 * PHP_INT_SIZE - 1; $i >= 0; $i --) { echo ($a >> $i) & 1 ? '1' : '0'; }