PHP » GoLang |
login |
register |
about
|
gmp_setbit(PHP 4 >= 4.0.4, PHP 5, PHP 7) gmp_setbit — Set bit Parameters
Examples
Example #1 gmp_setbit() example - 0 index
<?php The above example will output: 2 -> 0b10 3 -> 0b11 Example #2 gmp_setbit() example - 1 index
<?php The above example will output: 253 -> 0b11111101 255 -> 0b11111111 Example #3 gmp_setbit() example - clearing a bit
<?php The above example will output: 255 -> 0b11111111 254 -> 0b11111110 Notes
|
more
Recently updated
more
Most requested
more
Last requests
|