/php-src/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-src/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-src/ext/mbstring/tests/ |
H A D | mb_encode_numericentity.phpt | 11 echo "1 (hex): " . mb_encode_numericentity($str1, $convmap, "UTF-8", true) . "\n"; 30 echo "7 (hex): " . mb_encode_numericentity('föo', $convmap, "UTF-8", true) . "\n"; 35 echo "8 (hex): " . mb_encode_numericentity("\x01\x02\x03", $convmap, "UTF-8", true) . "\n"; 40 echo "9 (hex): " . mb_encode_numericentity("\x01\x02\x03", $convmap, "UTF-8", true) . "\n"; 45 echo "10 (hex): " . mb_encode_numericentity('föo', $convmap, "UTF-8", true) . "\n"; 65 6 (hex): � 67 7 (hex): föo 69 8 (hex): ϩϪϫ 71 9 (hex): ��� 73 10 (hex): ""# [all …]
|
H A D | mb_decode_numericentity.phpt | 52 // Try with hex, not just decimal entities 84 test("8 digits for hex entity", "A", "A", [0, 0xFFFF, 0, 0xFFFF], 'ASCII'); 85 test("More than 8 digits for hex entity", "Ł", "Ł", [0, 0xFFFF, 0, 0xFFFF],… 100 test("Successive hex entities", "22", "22", [0, 0xFFFF, 0, 0xFFFF], 'ASCII'); 107 test("Starting entity immediately after invalid hex entity", "�A", "
", [0x1, 0xFFFF, 0,… 116 // First try invalid decimal/hex entities 121 // Now try valid decimal/hex entities 166 8 digits for hex entity: string(12) "A" => string(1) "A" (Good) 167 More than 8 digits for hex entity: string(13) "Ł" => string(13) "Ł" (Good) 174 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-src/ext/intl/tests/ |
H A D | transliterator_clone.phpt | 10 $t = Transliterator::create("hex-any"); 19 hex-any: a 万 20 hex-any: a 万
|
/php-src/ext/opcache/tests/jit/ |
H A D | bug81226.phpt | 14 $hex = '10000000000000041'; 19 for ($j = 0, $len = strlen($hex); $j < $len; ++$j) { 21 $characterReferenceCode += ord($hex[$j]) - 0x0030;
|
/php-src/ext/ldap/tests/ |
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);
|
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);
|
/php-src/ext/curl/ |
H A D | sync-constants.php | 305 $hex = '0x'; 324 $hex .= $value; 327 return $hex;
|
/php-src/ext/standard/tests/array/sort/ |
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-src/ext/calendar/tests/ |
H A D | jdtojewish_hebrew.phpt | 13 $hex = bin2hex($hebrew); 14 echo "$hex\n";
|
/php-src/ext/pgsql/tests/ |
H A D | 18pg_escape_bytea_hex.phpt | 2 PostgreSQL pg_escape_bytea() functions (hex format) 20 @pg_query($db, "SET bytea_output = 'hex'");
|
/php-src/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-src/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-src/ext/hash/tests/ |
H A D | bug64745.phpt | 2 Bug #64745 (hash_pbkdf2() truncates data when using default length and hex output)
|
/php-src/ext/standard/ |
H A D | quot_print.c | 144 const char *hex = "0123456789ABCDEF"; in php_quot_print_encode() local 168 *d++ = hex[c >> 4]; in php_quot_print_encode() 169 *d++ = hex[c & 0xf]; in php_quot_print_encode()
|
/php-src/ext/filter/tests/ |
H A D | bug80584.phpt | 2 Bug #80584: "0x" and "0X" are considered valid hex numbers by filter_var()
|
/php-src/ext/iconv/tests/ |
H A D | bug53304.phpt | 2 Bug #53304 (quot_print_decode does not handle lower-case hex digits)
|
/php-src/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"]=>
|
H A D | pass001.1.phpt | 41 \"hex\": \"\\u0123\\u4567\\u89AB\\uCDEF\\uabcd\\uef4A\", 129 "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A", 228 ["hex"]=> 409 ["hex"]=> 527 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a… 529 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a… 594 ["hex"]=> 775 ["hex"]=>
|
/php-src/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)
|
H A D | gh15613.phpt | 2 GH-15613 overflow on hex strings repeater value
|