Hi everybody
Tha Manual says:
hexdec() will replace of any non-hexadecimal characters it encounters
by 0. This way, all left zeros are ignored, but right zeros will be
valued.
Example 1. hexdec() example
This is not correct. The two lines print int(10) and int(160).
Seems the
Cornelia Boenigk wrote:
> hexdec() will replace of any non-hexadecimal characters it encounters
> by 0. This way, all left zeros are ignored, but right zeros will be
> valued.
> Example 1. hexdec() example
> var_dump(hexdec("that"));
> var_dump(hexdec("a0