Lines Matching defs:hex
2079 $hex = array();
2085 array_push($hex, '0');
2087 array_push($hex, strtoupper(dechex(bcmod($number, '16'))));
2091 $hex = array_reverse($hex);
2092 return implode($hex);
2098 * @param $hex (string) hexadecimal number to convert specified as a string
2101 public function hex_to_dec($hex) {
2104 $len = strlen($hex);
2106 $dec = bcadd($dec, bcmul(hexdec($hex[$pos]), $bitval));