Home
last modified time | relevance | path

Searched refs:hex2bin (Results 1 – 20 of 20) sorted by relevance

/PHP-7.4/ext/standard/tests/strings/
H A Dpack_float.phpt95 unpack('g', hex2bin('0000803f')),
96 unpack('g', hex2bin('ca1b0e5a')),
97 unpack('g', hex2bin('285b173f')),
98 unpack('g', hex2bin('aa542b5f')),
99 unpack('g', hex2bin('000080bf')),
100 unpack('g', hex2bin('ca1b0eda')),
101 unpack('g', hex2bin('285b17bf')),
102 unpack('g', hex2bin('aa542bdf')),
105 unpack('G', hex2bin('3f800000')),
106 unpack('G', hex2bin('5a0e1bca')),
[all …]
H A Dhex2bin_basic.phpt2 hex2bin(); function test
8 var_dump(bin2hex(hex2bin('012345')) == '012345');
9 var_dump(bin2hex(hex2bin('abc123')) == 'abc123');
10 var_dump(bin2hex(hex2bin('123abc')) == '123abc');
11 var_dump(bin2hex(hex2bin('FFFFFF')) == 'ffffff');
H A Dhex2bin_error.phpt2 hex2bin(); function test
7 var_dump(hex2bin('AH'));
8 var_dump(hex2bin('HA'));
11 Warning: hex2bin(): Input string must be hexadecimal string in %s on line %d
14 Warning: hex2bin(): Input string must be hexadecimal string in %s on line %d
H A Dbug61660.phpt2 Bug #61660: bin2hex(hex2bin($data)) != $data
6 var_dump(hex2bin('123'));
10 Warning: hex2bin(): Hexadecimal input string must have an even length in %s on line %d
/PHP-7.4/ext/openssl/tests/
H A Dopenssl_pkey_new_basic.phpt31 'n' => hex2bin($nhex),
32 'e' => hex2bin($ehex),
33 'd' => hex2bin($dhex),
34 'p' => hex2bin($phex),
35 'q' => hex2bin($qhex),
62 'p' => hex2bin($phex),
63 'q' => hex2bin($qhex),
64 'g' => hex2bin($ghex)
83 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
H A Dbug55259.phpt15 $dh = openssl_pkey_new(array('dh'=> array( 'p' => hex2bin($phex), 'g' => '2')));
H A Dopenssl_csr_get_public_key_basic.phpt16 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
H A Dopenssl_csr_get_subject_basic.phpt16 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
H A Dopenssl_csr_export_to_file_basic.phpt16 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
/PHP-7.4/ext/zlib/tests/
H A Ddeflate_add_buffer_full.phpt26hex2bin("255044462d312e320a25c7ec8fa20a362030206f626a0a3c3c2f4c656e6774682037203020522f46696c74657…
34hex2bin("65616d0a789c7d53c16ed43010bde7c037f85824766a7bc6767c2ca8a00a016a1b2edcb2dbecaed1266937d98…
42hex2bin("b3be777df5525d3f90384cd58b50a9945fbb5e7c6cb8c89fca8156c688665f2de794504a81f75658a7c1d54a3…
/PHP-7.4/ext/gd/tests/
H A Dbug75111.phpt10 $str = hex2bin("424D3603000000000000");
15 $str .= hex2bin("01001800000000000000000000000000000000000000000000000000");
H A Dbug77973.phpt10 $contents = hex2bin("23646566696e6520776964746820320a23646566696e652068656967687420320a737461746963…
/PHP-7.4/ext/pcre/tests/
H A Dbug78338.phpt7 $string = hex2bin('2f5c583f3d3f223f3536ff3636ffffffff36a8a8a83636367a7a7a7a3d2aff2f0a');
/PHP-7.4/ext/mbstring/tests/
H A Dbug78559.phpt11 $str = hex2bin($str);
/PHP-7.4/ext/ldap/tests/
H A Dldap_exop.phpt28 return hex2bin('30'.sprintf("%'.02x", strlen($hex)/2).$hex);
34 return hex2bin(substr(bin2hex($retdata), 4*2));
H A Dldap_get_option_controls.phpt26 return hex2bin('30'.sprintf("%'.02x", strlen($hex)/2).$hex);
/PHP-7.4/ext/gmp/tests/
H A Dgmp_import.phpt35 $gmp = gmp_import(hex2bin($test[3]), $test[1], $test[2]);
/PHP-7.4/ext/standard/
H A Dphp_string.h77 PHP_FUNCTION(hex2bin);
H A Dbasic_functions.c2733 PHP_FE(hex2bin, arginfo_hex2bin)
H A Dstring.c249 PHP_FUNCTION(hex2bin) in PHP_FUNCTION() argument

Completed in 53 milliseconds