Boas
Estou com dúvidas acerca do funcionamento dos shift operand em php
Segundo o php.net:
$a << $b Shift left Shift the bits of $a $b steps to the left (each step means "multiply by two") $a >> $b Shift right
Shift the bits of $a $b steps to the right (each step means "divide by two")
mas a verdade é que continuo sem perceber muito bem o seu funcionamento
Desde já agradeço
Estou com dúvidas acerca do funcionamento dos shift operand em php
Segundo o php.net:
$a << $b Shift left Shift the bits of $a $b steps to the left (each step means "multiply by two") $a >> $b Shift right
Shift the bits of $a $b steps to the right (each step means "divide by two")
mas a verdade é que continuo sem perceber muito bem o seu funcionamento
Desde já agradeço