/PHP-8.3/tests/lang/integer_literals/ |
H A D | hexadecimal_32bit.phpt | 12 var_dump($hex); 17 var_dump($hex); 20 $hex = 0x1C; 21 var_dump($hex); 24 $hex = 0x1_C; 25 var_dump($hex); 28 $hex = 0x0_01C; 29 var_dump($hex); 30 $hex = 0x0_1C; 48 $hex = 0X1C; [all …]
|
H A D | hexadecimal_64bit.phpt | 12 var_dump($hex); 17 var_dump($hex); 20 $hex = 0x1C; 21 var_dump($hex); 24 $hex = 0x1_C; 25 var_dump($hex); 28 $hex = 0x0_01C; 29 var_dump($hex); 30 $hex = 0x0_1C; 49 $hex = 0X1C; [all …]
|
/PHP-8.3/ext/sodium/tests/ |
H A D | crypto_hex.phpt | 8 $hex = sodium_bin2hex($bin); 10 var_dump(strcasecmp($hex, $phphex)); 12 $bin2 = sodium_hex2bin($hex); 15 $bin2 = sodium_hex2bin('[' . $hex .']', '[]');
|
/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_encode_numericentity.phpt | 11 echo "1 (hex): " . mb_encode_numericentity($str1, $convmap, "UTF-8", true) . "\n"; 37 echo "7 (hex): " . mb_encode_numericentity('föo', $convmap, "UTF-8", true) . "\n"; 42 echo "8 (hex): " . mb_encode_numericentity("\x01\x02\x03", $convmap, "UTF-8", true) . "\n"; 47 echo "9 (hex): " . mb_encode_numericentity("\x01\x02\x03", $convmap, "UTF-8", true) . "\n"; 52 echo "10 (hex): " . mb_encode_numericentity('föo', $convmap, "UTF-8", true) . "\n"; 77 6 (hex): � 79 7 (hex): föo 81 8 (hex): ϩϪϫ 83 9 (hex): ��� 85 10 (hex): ""# [all …]
|
H A D | mb_decode_numericentity.phpt | 52 // Try with hex, not just decimal entities 91 test("8 digits for hex entity", "A", "A", [0, 0xFFFF, 0, 0xFFFF], 'ASCII'); 92 test("More than 8 digits for hex entity", "Ł", "Ł", [0, 0xFFFF, 0, 0xFFFF],… 107 test("Successive hex entities", "22", "22", [0, 0xFFFF, 0, 0xFFFF], 'ASCII'); 119 test("Starting entity immediately after invalid hex entity", "�A", "
", [0x1, 0xFFFF, 0,… 143 // First try invalid decimal/hex entities 148 // Now try valid decimal/hex entities 194 8 digits for hex entity: string(12) "A" => string(1) "A" (Good) 195 More than 8 digits for hex entity: string(13) "Ł" => string(13) "Ł" (Good) 202 Successive hex entities: string(11) "22" => string(2) "22" (Good) [all …]
|
H A D | bug31911.phpt | 2 Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
|
/PHP-8.3/ext/intl/tests/ |
H A D | transliterator_clone.phpt | 10 $t = Transliterator::create("hex-any"); 19 hex-any: a 万 20 hex-any: a 万
|
/PHP-8.3/ext/opcache/tests/jit/ |
H A D | bug81226.phpt | 15 $hex = '10000000000000041'; 20 for ($j = 0, $len = strlen($hex); $j < $len; ++$j) { 22 $characterReferenceCode += ord($hex[$j]) - 0x0030;
|
/PHP-8.3/ext/curl/ |
H A D | sync-constants.php | 303 $hex = '0x'; 322 $hex .= $value; 325 return $hex;
|
/PHP-8.3/ext/ldap/tests/ |
H A D | ldap_exop.phpt | 19 $hex = ''; 21 $hex .= '80'.sprintf("%'.02x", strlen($user)).bin2hex($user); 24 $hex .= '81'.sprintf("%'.02x", strlen($oldpw)).bin2hex($oldpw); 27 $hex .= '82'.sprintf("%'.02x", strlen($newpw)).bin2hex($newpw); 29 return hex2bin('30'.sprintf("%'.02x", strlen($hex)/2).$hex);
|
H A D | ldap_get_option_controls.phpt | 21 $hex = ''; 24 $hex .= '02'.sprintf("%'.02x%s", strlen($str)/2, $str); 26 $hex .= '04'.sprintf("%'.02x", strlen($cookie)).bin2hex($cookie); 27 return hex2bin('30'.sprintf("%'.02x", strlen($hex)/2).$hex);
|
/PHP-8.3/ext/imap/tests/ |
H A D | imap_base64_basic.phpt | 25 $hex = 'x00\x01\x02\x03\x04\x05\x06\xFA\xFB\xFC\xFD\xFE\xFF'; 26 $base64 = base64_encode($hex); 27 if (imap_base64($base64) == $hex) {
|
H A D | imap_binary_basic.phpt | 25 $hex = 'x00\x01\x02\x03\x04\x05\x06\xFA\xFB\xFC\xFD\xFE\xFF'; 26 $base64 = imap_binary($hex);
|
/PHP-8.3/ext/standard/tests/array/ |
H A D | natcasesort_variation5.phpt | 2 Test natcasesort() function : usage variations - different hex values 6 * Pass an array of different hex values to test how natcasesort() re-orders it
|
/PHP-8.3/ext/calendar/tests/ |
H A D | jdtojewish_hebrew.phpt | 13 $hex = bin2hex($hebrew); 14 echo "$hex\n";
|
/PHP-8.3/ext/pgsql/tests/ |
H A D | 18pg_escape_bytea_hex.phpt | 2 PostgreSQL pg_escape_bytea() functions (hex format) 17 @pg_query($db, "SET bytea_output = 'hex'");
|
/PHP-8.3/Zend/tests/ |
H A D | bug78454_1.phpt | 2 Invalid consecutive numeric separators after hex literal
|
H A D | bug77993.phpt | 2 Bug #77993 (Wrong parse error for invalid hex literal on Windows)
|
/PHP-8.3/ext/standard/tests/general_functions/ |
H A D | 001.phpt | 23 echo("sprintf octal and hex test: "); 59 sprintf octal and hex test: passed
|
/PHP-8.3/ext/hash/tests/ |
H A D | bug64745.phpt | 2 Bug #64745 (hash_pbkdf2() truncates data when using default length and hex output)
|
/PHP-8.3/ext/standard/ |
H A D | quot_print.c | 148 char *hex = "0123456789ABCDEF"; in php_quot_print_encode() local 172 *d++ = hex[c >> 4]; in php_quot_print_encode() 173 *d++ = hex[c & 0xf]; in php_quot_print_encode()
|
/PHP-8.3/ext/filter/tests/ |
H A D | bug80584.phpt | 2 Bug #80584: "0x" and "0X" are considered valid hex numbers by filter_var()
|
/PHP-8.3/ext/iconv/tests/ |
H A D | bug53304.phpt | 2 Bug #53304 (quot_print_decode does not handle lower-case hex digits)
|
/PHP-8.3/ext/json/tests/ |
H A D | pass001.phpt | 35 \"hex\": \"\\u0123\\u4567\\u89AB\\uCDEF\\uabcd\\uef4A\", 118 "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A", 211 ["hex"]=> 349 ["hex"]=> 426 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a… 428 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a… 491 ["hex"]=> 629 ["hex"]=>
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | bug36148.phpt | 2 Bug #36148 (unpack("H*hex", $data) is adding an extra character to the end of the string)
|