Home
last modified time | relevance | path

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

/PHP-7.1/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.1/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.1/ext/zlib/tests/
H A Ddeflate_add_buffer_full.phpt26hex2bin("255044462d312e320a25c7ec8fa20a362030206f626a0a3c3c2f4c656e6774682037203020522f46696c74657…
34hex2bin("65616d0a789c7d53c16ed43010bde7c037f85824766a7bc6767c2ca8a00a016a1b2edcb2dbecaed1266937d98…
42hex2bin("b3be777df5525d3f90384cd58b50a9945fbb5e7c6cb8c89fca8156c688665f2de794504a81f75658a7c1d54a3…
/PHP-7.1/ext/mcrypt/tests/
H A Dblowfish.phpt7 if(!function_exists("hex2bin")) {
8 function hex2bin($data) {
28 $key = hex2bin(trim($key));
29 $plain = hex2bin(($plain));
46 $key = hex2bin( "0123456789ABCDEFF0E1D2C3B4A59687" );
47 $iv = hex2bin( "FEDCBA9876543210" );
48 $plain = hex2bin( "37363534333231204E6F77206973207468652074696D6520666F722000" );
/PHP-7.1/ext/gd/tests/
H A Dbug77973.phpt10 $contents = hex2bin("23646566696e6520776964746820320a23646566696e652068656967687420320a737461746963…
/PHP-7.1/ext/gmp/tests/
H A Dgmp_import.phpt35 $gmp = gmp_import(hex2bin($test[3]), $test[1], $test[2]);
/PHP-7.1/ext/standard/
H A Dphp_string.h81 PHP_FUNCTION(hex2bin);
H A Dstring.c271 PHP_FUNCTION(hex2bin) in PHP_FUNCTION() argument
H A Dbasic_functions.c2701 PHP_FE(hex2bin, arginfo_hex2bin)

Completed in 45 milliseconds