I was left with a doubt after @bigown answered this question:
What is the ~ (useful) operator used in PHP ?
How can I get the negative value in binary?
And how, through the binary, reach a negative value?
In @bigown's response, he explained that 11111101
is equal to -3
.
Because when I do the conversion, I am returned 253
.
var_dump(bindec('11111101')); Imprime 253