Home
last modified time | relevance | path

Searched refs:hexdec (Results 1 – 18 of 18) sorted by relevance

/php-src/ext/standard/tests/math/
H A Dhexdec_basic_64bit.phpt2 Test hexdec() - basic function test hexdec()
39 -- hexdec 1194684 --
42 -- hexdec 7904751 --
68 -- hexdec 311015 --
71 -- hexdec 311015 --
74 -- hexdec 31101.3 --
79 -- hexdec 3110130 --
82 -- hexdec 4767 --
85 -- hexdec 011237 --
88 -- hexdec 1 --
[all …]
H A Dhexdec.phpt8 var_dump(hexdec("012345"));
9 var_dump(hexdec("12345"));
10 var_dump(hexdec("q12345"));
11 var_dump(hexdec("12345+?!"));
12 var_dump(hexdec("12345q"));
13 var_dump((float)hexdec("1234500001"));
14 var_dump((float)hexdec("17fffffff"));
H A Dhexdec_variation2.phpt2 Test hexdec() function : strange literals
6 var_dump(hexdec('0x'));
7 var_dump(hexdec('0X'));
8 var_dump(hexdec(''));
H A Dhexdec_variation1.phpt2 Test hexdec() function : usage variations - different data types as $number arg
11 echo "*** Testing hexdec() : usage variations ***\n";
58 // loop through each element of $inputs to check the behaviour of hexdec()
63 var_dump(hexdec($input));
72 *** Testing hexdec() : usage variations ***
136 hexdec(): Argument #1 ($hex_string) must be of type string, array given
154 hexdec(): Argument #1 ($hex_string) must be of type string, resource given
H A Dhexdec_variation1_64bit.phpt2 Test hexdec() function : usage variations - different data types as $number arg
11 echo "*** Testing hexdec() : usage variations ***\n";
58 // loop through each element of $inputs to check the behaviour of hexdec()
63 var_dump(hexdec($input));
72 *** Testing hexdec() : usage variations ***
136 hexdec(): Argument #1 ($hex_string) must be of type string, array given
154 hexdec(): Argument #1 ($hex_string) must be of type string, resource given
H A Dhexdec_basic.phpt2 Test hexdec() - basic function test hexdec()
28 $res = hexdec($values[$i]);
H A Dhexdec_basiclong_64bit.phpt2 Test hexdec function : 64bit long tests
29 var_dump(hexdec($strVal));
/php-src/ext/standard/html_tables/
H A Dhtml_table_gen.php190 foreach ($map as $v) { $mappy[hexdec($v[0])] = hexdec($v[1]); }
334 if (hexdec($v[0]) >= $e['range'][0] && hexdec($v[0]) <= $e['range'][1])
335 $mappy[hexdec($v[1])] = array(hexdec($v[0]), strtolower($v[2]));
433 usort($dp, function($a, $b) { return hexdec($a[1])-hexdec($b[1]); });
521 $s1 = (hexdec($el[1]) & 0xFFF000) >> 12;
522 $s2 = (hexdec($el[1]) & 0xFC0) >> 6;
523 $s3 = hexdec($el[1]) & 0x3F;
757 $h[0], strlen($h[0]), hexdec($h[1]), hexdec($h[2]));
760 $h[0], strlen($h[0]), hexdec($h[1]));
/php-src/ext/mbstring/
H A Dgen_rare_cp_bitvec.php23 $start = hexdec($range[0]);
24 $end = hexdec($range[1]);
/php-src/ext/openssl/tests/
H A Dopenssl_peer_fingerprint_basic.phpt58 $brokenLastCharacter = dechex(hexdec($lastCharacter) ^ 1);
/php-src/ext/mbstring/tests/
H A Dsjis2004_encoding.phpt33 $codepoint1 = hexdec($match[1]);
H A Dsjis_mobile_encodings.phpt100 $utf32 = pack('N', hexdec($fields[0]));
105 $docomo[pack('n', hexdec($fields[1]))] = $utf32;
107 $kddi[pack('n', hexdec($fields[2]))] = $utf32;
109 $bytes = pack('n', hexdec($fields[3]));
H A Diso2022jp_kddi_encoding.phpt60 $utf32 = pack('N', hexdec($fields[0]));
63 $kuten = shiftJISDecode(hexdec($fields[2]));
H A Dencoding_tests.inc49 $char .= chr(hexdec($substr));
H A Dgb18030_2022_encoding.phpt218 $char .= chr(hexdec($substr));
/php-src/ext/standard/
H A Dmath.c955 PHP_FUNCTION(hexdec) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php3231 function hexdec(string $hex_string): int|float {}
H A Dbasic_functions_arginfo.h2783 ZEND_FUNCTION(hexdec);

Completed in 54 milliseconds