[PHP-DOC] error at function hexdec

2004-02-26 Thread Cornelia Boenigk
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

Re: [PHP-DOC] error at function hexdec

2004-02-26 Thread Jakub Vrana
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